FIX - PHP8 Warnning admin commande
This commit is contained in:
parent
373c8d83df
commit
79b7b106fc
@ -117,7 +117,7 @@ if ($action == 'updateMask') {
|
||||
} elseif ($action == 'del') {
|
||||
$ret = delDocumentModel($value, $type);
|
||||
if ($ret > 0) {
|
||||
if ($conf->global->COMMANDE_ADDON_PDF == "$value") {
|
||||
if (getDolGlobalString('COMMANDE_ADDON_PDF') == $value) {
|
||||
dolibarr_del_const($db, 'COMMANDE_ADDON_PDF', $conf->entity);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user