Revert "Fix #15675 fixed the error of installation start of version 13.0.0-beta"

This reverts commit 3b7e510e61.
This commit is contained in:
Zebedeu
2020-12-06 07:42:45 +01:00
parent 3b7e510e61
commit e38c6e4322

View File

@@ -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 // 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; $url = DOL_URL_ROOT;
$theme = $conf->theme;
$theme = isset($conf->theme) ? $conf->theme : null;
$path = 'theme/'.$theme; $path = 'theme/'.$theme;
// Define fullpathpicto to use into src // Define fullpathpicto to use into src
if ($pictoisfullpath) { if ($pictoisfullpath) {
// Clean parameters // Clean parameters