[TASK] Call explicit render() on icon objects
[Packages/TYPO3.CMS.git] / typo3 / sysext / version / Classes / ClickMenu / VersionClickMenu.php
index 02c6112..34024da 100644 (file)
@@ -58,7 +58,7 @@ class VersionClickMenu {
                        $url = \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('web_txversionM1', array('table' => $table, 'uid' => $uid));
                        $localItems[] = $backRef->linkItem(
                                $GLOBALS['LANG']->getLLL('title', $LL),
-                               $backRef->excludeIcon($this->iconFactory->getIcon('actions-version-open', Icon::SIZE_SMALL)),
+                               $backRef->excludeIcon($this->iconFactory->getIcon('actions-version-open', Icon::SIZE_SMALL)->render()),
                                $backRef->urlRefForCM($url),
                                TRUE
                        );