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