the problem persist, we need to do an array_merge to not lose the invisible etrafields since they are not send via GET/POST
This commit is contained in:
parent
3090caccb4
commit
ef4000bb19
@ -607,7 +607,7 @@ if (empty($reshook)) {
|
||||
// Extrafields
|
||||
$extrafields->fetch_name_optionals_label($object->table_element_line);
|
||||
$array_options = $extrafields->getOptionalsFromPost($object->table_element_line);
|
||||
$objectline->array_options = $array_options;
|
||||
$objectline->array_options = array_merge($objectline->array_options, $array_options);
|
||||
|
||||
$result = $objectline->update($user);
|
||||
if ($result < 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user