bugfix
This commit is contained in:
parent
bc6df6bae6
commit
b7a534f78d
@ -62,7 +62,7 @@ if ($_POST["action"] == 'add' && $user->rights->produit->creer)
|
|||||||
$res = $categorie->create();
|
$res = $categorie->create();
|
||||||
if ($res < 0)
|
if ($res < 0)
|
||||||
{
|
{
|
||||||
$_error = 3
|
$_error = 3;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -72,7 +72,7 @@ if ($_POST["action"] == 'add' && $user->rights->produit->creer)
|
|||||||
$res = $mere->add_fille($categorie);
|
$res = $mere->add_fille($categorie);
|
||||||
if ($res < 0)
|
if ($res < 0)
|
||||||
{
|
{
|
||||||
$_error = 2
|
$_error = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user