fix bug when creating fichinter from order (create function should receive $user as parm)
This commit is contained in:
parent
a9fe9cf0b2
commit
ebb8171d28
@ -178,7 +178,7 @@ else if ($action == 'add' && $user->rights->ficheinter->creer)
|
||||
$object->linked_objects = array_merge($object->linked_objects, $_POST['other_linked_objects']);
|
||||
}
|
||||
|
||||
$id = $object->create();
|
||||
$id = $object->create($user);
|
||||
|
||||
if ($id > 0)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user