Fix not not saved
This commit is contained in:
parent
77f2b137b5
commit
84426c69e3
@ -112,7 +112,7 @@ if (empty($reshook)) {
|
||||
} else {
|
||||
$object->name = trim(GETPOST("nom",'nohtml'));
|
||||
$object->nom = $object->name; // For backward compatibility
|
||||
$object->note = trim(GETPOST("nom",'none'));
|
||||
$object->note = trim(GETPOST("note",'none'));
|
||||
|
||||
// Fill array 'array_options' with data from add form
|
||||
$ret = $extrafields->setOptionalsFromPost($extralabels,$object);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user