[TASK] Call explicit render() on icon objects
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Tree / Pagetree / Commands.php
index ebdf2f9..1c47144 100644 (file)
@@ -328,7 +328,7 @@ class Commands {
                $lockInfo = BackendUtility::isRecordLocked('pages', $record['uid']);
                if (is_array($lockInfo)) {
                        $qtip .= '<br />' . htmlspecialchars($lockInfo['msg']);
-                       $prefix .= '<span class="typo3-pagetree-status">' . $iconFactory->getIcon('status-warning-in-use', Icon::SIZE_SMALL) . '</span>';
+                       $prefix .= '<span class="typo3-pagetree-status">' . $iconFactory->getIcon('status-warning-in-use', Icon::SIZE_SMALL)->render() . '</span>';
                }
                // Call stats information hook
                $stat = '';