Fix regression

This commit is contained in:
ldestailleur
2025-10-11 14:13:45 +02:00
parent 617d6e677f
commit 5824cc3449

View File

@@ -5495,7 +5495,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0, $srco
return $enabledisablehtml;
}
if (empty($srconly) && !preg_match('/[\.\/@]/', $pictowithouttext)) { // If picto code does not contains a / and no . inside, it is not a path to an image file on disk
if (empty($srconly) && !preg_match('/[\.\/@]/', $picto)) { // If original picto code does not contains a / and no . inside, it is not a path to an image file on disk
$fakey = $pictowithouttext;
$facolor = '';
$fasize = '';