will allow updating 1 task single Complementary Attribute without specifying complementary attributes that we don't want to change. Similar to # 29115 but just for a task
This commit is contained in:
parent
027cf37940
commit
f873f9aa65
1 changed files with 6 additions and 1 deletions
|
|
@ -462,7 +462,12 @@ class Tasks extends DolibarrApi
|
|||
$this->task->context['caller'] = $request_data['caller'];
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($field == 'array_options' && is_array($value)) {
|
||||
foreach ($value as $index => $val) {
|
||||
$this->task->array_options[$index] = $val;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
$this->task->$field = $value;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue