mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
fix php8 warnings
This commit is contained in:
@@ -51,7 +51,7 @@ if ($id > 0 || !empty($ref)) {
|
||||
}
|
||||
|
||||
// Linked documents
|
||||
if ($typeobject == 'commande' && $object->$typeobject->id && !empty($conf->commande->enabled)) {
|
||||
if ($typeobject == 'commande' && $object->$typeobject->id && isModEnabled('commande')) {
|
||||
$objectsrc = new Commande($db);
|
||||
$objectsrc->fetch($object->$typeobject->id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user