php V8 warning
This commit is contained in:
parent
869ec8e461
commit
bc8f20b5cb
1 changed files with 1 additions and 1 deletions
|
|
@ -5426,7 +5426,7 @@ if ($action == 'create') {
|
|||
|
||||
// Create contract
|
||||
if (!empty($conf->global->CONTRACT_CREATE_FROM_INVOICE)) {
|
||||
if ($conf->contrat->enabled && $object->statut == Facture::STATUS_VALIDATED) {
|
||||
if (!empty($conf->contrat->enabled) && $object->statut == Facture::STATUS_VALIDATED) {
|
||||
$langs->load("contracts");
|
||||
|
||||
if ($usercancreatecontract) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue