From e955b041ca86a0e18c5307e9b1112e7ada4b95f7 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 4 Aug 2012 09:56:25 +0200 Subject: [PATCH] Fix: just change $path value --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }