diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 3e425a9922a..d79f1f1a845 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -1709,7 +1709,7 @@ function img_picto_common($alt, $picto, $options = '', $pictoisfullpath = 0) { $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; } }