Fix missing $user in create method
This commit is contained in:
parent
ff04729a07
commit
bff33166a5
@ -132,7 +132,7 @@ if ($action == 'add' && $user->rights->categorie->creer)
|
||||
// Create category in database
|
||||
if (! $error)
|
||||
{
|
||||
$result = $object->create();
|
||||
$result = $object->create($user);
|
||||
if ($result > 0)
|
||||
{
|
||||
$action = 'confirmed';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user