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