php V8 warning
This commit is contained in:
parent
35a1f9ac4b
commit
8bc313980a
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user