[TASK] Call explicit render() on icon objects
[Packages/TYPO3.CMS.git] / typo3 / sysext / belog / Classes / ViewHelpers / HistoryEntryViewHelper.php
index c1a37fb..c290081 100644 (file)
@@ -79,7 +79,7 @@ class HistoryEntryViewHelper extends AbstractViewHelper implements CompilableInt
                        'showHistory',
                        $controllerContext->getRequest()->getControllerExtensionName()
                );
-               $historyIcon = $iconFactory->getIcon('actions-document-history-open', Icon::SIZE_SMALL);
+               $historyIcon = $iconFactory->getIcon('actions-document-history-open', Icon::SIZE_SMALL)->render();
                $historyHref = BackendUtility::getModuleUrl(
                                'record_history',
                                array(