Fix missing $user in create method

This commit is contained in:
Florian HENRY 2014-09-01 11:49:44 +02:00 committed by Juanjo Menent
parent 4372c58714
commit 772acd6bf9

View File

@ -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';