[BUGFIX] Use PHP native htmlspecialchars_decode()
[Packages/TYPO3.CMS.git] / typo3 / sysext / opendocs / Classes / Controller / OpendocsController.php
index f611b76..0a4ccf1 100644 (file)
@@ -151,7 +151,7 @@ class OpendocsController implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemHookIn
                        // Record seems to be deleted
                        return '';
                }
-               $label = htmlspecialchars(strip_tags(\TYPO3\CMS\Core\Utility\GeneralUtility::htmlspecialchars_decode($document[0])));
+               $label = htmlspecialchars(strip_tags(htmlspecialchars_decode($document[0])));
                $icon = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconForRecord($table, $record);
                $link = $GLOBALS['BACK_PATH'] . 'alt_doc.php?' . $document[2];
                $pageId = (int)$document[3]['uid'];