[TASK] Call explicit render() on icon objects
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / Element / SelectSingleBoxElement.php
index 6133cd7..349d0ce 100644 (file)
@@ -228,7 +228,7 @@ class SelectSingleBoxElement extends AbstractFormElement {
 
                $html = [
                        '<a ' . $this->implodeAttributes($attributes) . '>',
-                               $this->iconFactory->getIcon('actions-edit-undo', Icon::SIZE_SMALL),
+                               $this->iconFactory->getIcon('actions-edit-undo', Icon::SIZE_SMALL)->render(),
                        '</a>',
                ];