mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-28 20:31:24 +01:00
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
This commit is contained in:
@@ -662,7 +662,13 @@ class Orders extends DolibarrApi
|
||||
continue;
|
||||
}
|
||||
|
||||
$this->commande->$field = $value;
|
||||
if ($field == 'array_options' && is_array($value)) {
|
||||
foreach ($value as $index => $val) {
|
||||
$this->commande->array_options[$index] = $this->_checkValForAPI($field, $val, $this->commande);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
$this->commande->$field = $this->_checkValForAPI($field, $value, $this->commande);
|
||||
}
|
||||
|
||||
// Update availability
|
||||
|
||||
Reference in New Issue
Block a user