Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
This commit is contained in:
commit
dd70bee773
@ -260,7 +260,13 @@ if (empty($reshook))
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Extrafields
|
// Extrafields
|
||||||
$extrafields = new ExtraFields($db);
|
|
||||||
|
// Fill array 'array_options' with data from add form
|
||||||
|
$ret = $extrafields->setOptionalsFromPost(null, $object);
|
||||||
|
if ($ret < 0) {
|
||||||
|
$error++;
|
||||||
|
$action = 'create';
|
||||||
|
}
|
||||||
$array_options = $extrafields->getOptionalsFromPost($object->table_element);
|
$array_options = $extrafields->getOptionalsFromPost($object->table_element);
|
||||||
|
|
||||||
$object->array_options = $array_options;
|
$object->array_options = $array_options;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user