2
0
forked from Wavyzz/dolibarr

Fix : php8.1 warnings with strict mode

This commit is contained in:
hystepik
2023-06-10 10:47:36 +02:00
parent d1c8e5ec00
commit 597b36e57c
5 changed files with 5 additions and 5 deletions

View File

@@ -1980,7 +1980,7 @@ class Commande extends CommonOrder
$this->multicurrency_total_tva = $obj->multicurrency_total_tva;
$this->multicurrency_total_ttc = $obj->multicurrency_total_ttc;
$this->extraparams = (array) json_decode($obj->extraparams, true);
$this->extraparams = !empty($obj->extraparams) ? (array) json_decode($obj->extraparams, true) : array();
$this->lines = array();