FIX - PHP8 Warnning admin commande
This commit is contained in:
parent
47d241bf50
commit
d52d393185
@ -117,7 +117,7 @@ if ($action == 'updateMask') {
|
|||||||
} elseif ($action == 'del') {
|
} elseif ($action == 'del') {
|
||||||
$ret = delDocumentModel($value, $type);
|
$ret = delDocumentModel($value, $type);
|
||||||
if ($ret > 0) {
|
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);
|
dolibarr_del_const($db, 'COMMANDE_ADDON_PDF', $conf->entity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user