forked from Wavyzz/dolibarr
Lowercase NULL, TRUE, FALSE according to PSR2
This commit is contained in:
@@ -823,7 +823,7 @@ class Commande extends CommonOrder
|
||||
$line = $this->lines[$i];
|
||||
|
||||
// Test and convert into object this->lines[$i]. When coming from REST API, we may still have an array
|
||||
//if (! is_object($line)) $line=json_decode(json_encode($line), FALSE); // convert recursively array into object.
|
||||
//if (! is_object($line)) $line=json_decode(json_encode($line), false); // convert recursively array into object.
|
||||
if (! is_object($line)) $line = (object) $line;
|
||||
|
||||
// Reset fk_parent_line for no child products and special product
|
||||
|
||||
Reference in New Issue
Block a user