Fix : missing object when calling function
This commit is contained in:
parent
6c872395e3
commit
f3a7d497c6
@ -342,7 +342,7 @@ else if ($action == 'add' && $user->rights->propal->creer)
|
||||
}
|
||||
|
||||
// Fill array 'array_options' with data from add form
|
||||
$ret = setOptionalsFromPost($extralabels,$object);
|
||||
$ret = $extrafields->setOptionalsFromPost($extralabels,$object);
|
||||
|
||||
$id = $object->create($user);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user