Fix #15675 fixed the error of installation start of version 13.0.0-beta
This commit is contained in:
parent
e126f9ce5d
commit
7a8d031d56
@ -3191,9 +3191,10 @@ 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user