mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 11:08:34 +01:00
Fix: just change $path value
This commit is contained in:
@@ -1709,7 +1709,7 @@ function img_picto_common($alt, $picto, $options = '', $pictoisfullpath = 0)
|
|||||||
{
|
{
|
||||||
$themepath = DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/img/'.$picto;
|
$themepath = DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/img/'.$picto;
|
||||||
|
|
||||||
if (file_exists($themepath)) return img_picto($alt, $themepath, $options, 1);
|
if (file_exists($themepath)) $path = $themepath;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user