Merge pull request #1860 from FHenry/3.5
Fix missing $user in create method
This commit is contained in:
commit
1f0653dd6d
@ -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