From 50b80785f527f08893d3e4fec3d897f1c2dd9600 Mon Sep 17 00:00:00 2001 From: Zebedeu Date: Sun, 6 Dec 2020 07:56:18 +0100 Subject: [PATCH] Revert "Fix #15675 fixed the error of installation start of version 13.0.0-beta" This reverts commit 35ea990cffe509ba2a9abf3a043c067057c393ab. --- htdocs/core/lib/functions.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 66f0ea78abf..890c16627aa 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -3191,9 +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 = isset($conf->theme) ? $conf->theme : null; + $theme = $conf->theme; $path = 'theme/'.$theme; - + // Define fullpathpicto to use into src if ($pictoisfullpath) { // Clean parameters