Fix: just change $path value

This commit is contained in:
Regis Houssin
2012-08-04 09:56:25 +02:00
parent 320ce03e29
commit e955b041ca

View File

@@ -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;
}
}