Fix warnings

This commit is contained in:
Laurent Destailleur
2023-12-23 19:47:10 +01:00
parent 7bb32a04b4
commit 07f4c9b335
16 changed files with 24 additions and 24 deletions

View File

@@ -2098,7 +2098,7 @@ class Setup extends DolibarrApi
// Value found
$value = '';
if ($constname && getDolGlobalString($constname) != '') {
$value = $conf->global->$constname;
$value = getDolGlobalString($constname);
}
$valueforchecksum = (empty($value) ? '0' : $value);