will allow updating 1 member single Complementary Attribute without specifying complementary attributes that we don't want to change. Similar to # 29115 but just for a member
This commit is contained in:
parent
027cf37940
commit
c55c0284b1
1 changed files with 6 additions and 1 deletions
|
|
@ -349,7 +349,12 @@ class Members extends DolibarrApi
|
|||
$member->context['caller'] = $request_data['caller'];
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($field == 'array_options' && is_array($value)) {
|
||||
foreach ($value as $index => $val) {
|
||||
$member->array_options[$index] = $val;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
// Process the status separately because it must be updated using
|
||||
// the validate(), resiliate() and exclude() methods of the class Adherent.
|
||||
if ($field == 'statut') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue