Skip to content
Snippets Groups Projects
Commit 772acd6b authored by Florian Henry's avatar Florian Henry Committed by Juanjo Menent
Browse files

Fix missing $user in create method

parent 4372c587
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,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