php V8 warning

This commit is contained in:
BENKE Charlene 2022-05-27 16:32:11 +02:00 committed by GitHub
parent 35a1f9ac4b
commit 8bc313980a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2791,7 +2791,7 @@ if ($action == 'create') {
} }
// Create contract // Create contract
if ($conf->contrat->enabled && $object->statut == Propal::STATUS_SIGNED) { if (!empty($conf->contrat->enabled) && $object->statut == Propal::STATUS_SIGNED) {
$langs->load("contracts"); $langs->load("contracts");
if ($usercancreatecontract) { if ($usercancreatecontract) {