From b7a534f78d032b8f1bce7e6ccd60b7a4035af1a3 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 22 Feb 2006 19:11:19 +0000 Subject: [PATCH] bugfix --- htdocs/categories/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index e5368919f4e..c47716c173b 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -62,7 +62,7 @@ if ($_POST["action"] == 'add' && $user->rights->produit->creer) $res = $categorie->create(); if ($res < 0) { - $_error = 3 + $_error = 3; } else { @@ -72,7 +72,7 @@ if ($_POST["action"] == 'add' && $user->rights->produit->creer) $res = $mere->add_fille($categorie); if ($res < 0) { - $_error = 2 + $_error = 2; } } }