N°2982 - small enhancement to fetch images in themes

This commit is contained in:
odain
2021-04-02 10:44:43 +02:00
parent e492d713c4
commit 49fe8d0a0f
3 changed files with 7 additions and 1 deletions

View File

@@ -606,6 +606,10 @@ CSS;
{
foreach ($aMatches[1] as $path)
{
$iRemainingClosingParenthesisPos = strpos($path, ')');
if ($iRemainingClosingParenthesisPos !== false){
$path = substr($path, 0, $iRemainingClosingParenthesisPos);
}
if (!array_key_exists($path, $aCompleteUrls)
&& !array_key_exists($path, $aToCompleteUrls))
{