Skip to content
Snippets Groups Projects
Commit bff33166 authored by Florian Henry's avatar Florian Henry
Browse files

Fix missing $user in create method

parent ff04729a
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment