mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 09:01:40 +01:00
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
This commit is contained in:
@@ -476,7 +476,13 @@ class Projects extends DolibarrApi
|
||||
continue;
|
||||
}
|
||||
|
||||
$this->project->$field = $value;
|
||||
if ($field == 'array_options' && is_array($value)) {
|
||||
foreach ($value as $index => $val) {
|
||||
$this->project->array_options[$index] = $this->_checkValForAPI($field, $val, $this->project);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
$this->project->$field = $this->_checkValForAPI($field, $value, $this->project);
|
||||
}
|
||||
|
||||
if ($this->project->update(DolibarrApiAccess::$user) >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user