[FOLLOWUP][TASK] Call explicit render() on icon objects 29/43829/2
authorDaniel Goerz <ervaude@gmail.com>
Mon, 5 Oct 2015 19:52:50 +0000 (21:52 +0200)
committerFrank Nägler <frank.naegler@typo3.org>
Mon, 5 Oct 2015 20:06:35 +0000 (22:06 +0200)
Change-Id: I267242dd29dc6e773cc6f2f69f24d7b2c98ec8ea
Resolves: #70417
Releases: master
Reviewed-on: http://review.typo3.org/43829
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php

index ca9145d..517edac 100644 (file)
@@ -288,7 +288,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList {
                        // Cache
                        $buttons['cache'] = '<a href="' . htmlspecialchars(($this->listURL() . '&clear_cache=1')) . '" title="'
                                . $lang->sL('LLL:EXT:lang/locallang_core.xlf:labels.clear_cache', TRUE) . '">'
-                               . $this->iconFactory->getIcon('actions-system-cache-clear', Icon::SIZE_SMALL)->render()->render() . '</a>';
+                               . $this->iconFactory->getIcon('actions-system-cache-clear', Icon::SIZE_SMALL)->render() . '</a>';
                        if (
                                $this->table && (!isset($module->modTSconfig['properties']['noExportRecordsLinks'])
                                || (isset($module->modTSconfig['properties']['noExportRecordsLinks'])