forked from Wavyzz/dolibarr
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
This commit is contained in:
@@ -458,7 +458,13 @@ class Receptions extends DolibarrApi
|
||||
continue;
|
||||
}
|
||||
|
||||
$this->reception->$field = $value;
|
||||
if ($field == 'array_options' && is_array($value)) {
|
||||
foreach ($value as $index => $val) {
|
||||
$this->reception->array_options[$index] = $this->_checkValForAPI($field, $val, $this->reception);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
$this->reception->$field = $this->_checkValForAPI($field, $val, $this->reception);
|
||||
}
|
||||
|
||||
if ($this->reception->update(DolibarrApiAccess::$user) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user