From 1917d9b5084084bdd0ad43af7c1862f1929dc2c4 Mon Sep 17 00:00:00 2001 From: Zebedeu Date: Sat, 5 Dec 2020 20:23:31 +0100 Subject: [PATCH] Revert "Fix #15675 fixed the error of installation start of version 13.0.0-beta" This reverts commit 7a8d031d56dc5cf823c300d24c9f701dc87a5dac. --- htdocs/core/lib/functions.lib.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 17474f840ad..890c16627aa 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -3191,10 +3191,9 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $ // We forge fullpathpicto for image to $path/img/$picto. By default, we take DOL_URL_ROOT/theme/$conf->theme/img/$picto $url = DOL_URL_ROOT; + $theme = $conf->theme; + $path = 'theme/'.$theme; - if(isset($conf->theme)) { - $theme = $conf->theme; - } // Define fullpathpicto to use into src if ($pictoisfullpath) { // Clean parameters