Commit 8652323b authored by Jens Jacobsen's avatar Jens Jacobsen
Browse files

[BUGFIX] Do not render an image if the extension does not have an icon

parent 48995180
Pipeline #596 passed with stages
in 3 minutes and 11 seconds
......@@ -78,7 +78,7 @@ class ExtensionIconViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractT
}
if (empty($imageUrl) || !file_exists(\Tx_TerFe2_Utility_File::getAbsolutePathFromUrl($imageUrl))) {
$imageUrl = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl('typo3/clear.gif');
return '';
}
$this->tag->addAttribute('src', $imageUrl);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment