Fix : missing object when calling function

This commit is contained in:
jfefe 2013-03-29 22:30:07 +01:00
parent 6c872395e3
commit f3a7d497c6

View File

@ -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);
}