[TASK] Call explicit render() on icon objects
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / Container / SingleFieldContainer.php
index 74ec46c..ac5be63 100644 (file)
@@ -361,7 +361,7 @@ class SingleFieldContainer extends AbstractContainer {
                if ($l10nMode === 'mergeIfNotBlank') {
                        /** @var IconFactory $iconFactory */
                        $iconFactory = GeneralUtility::makeInstance(IconFactory::class);
-                       $icon = $iconFactory->getIcon('actions-edit-merge-localization', Icon::SIZE_SMALL);
+                       $icon = $iconFactory->getIcon('actions-edit-merge-localization', Icon::SIZE_SMALL)->render();
                }
                return $icon;
        }