From 2ef242bb355e1d8a83963cbfaacbbb55568768cb Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 20 Feb 2006 17:12:05 +0000 Subject: [PATCH] =?UTF-8?q?gestion=20cat=E9gorie=20de=20produits?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/categories/create.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/categories/create.php b/htdocs/categories/create.php index 0f4af98c0ed..3f2cee1d547 100644 --- a/htdocs/categories/create.php +++ b/htdocs/categories/create.php @@ -139,14 +139,14 @@ print ''; echo "

".$langs->trans ("ErrForgotField")." \"".$langs->trans ("Label")."\"

"; $OK = false; } - else if ($c->already_exists ($_POST["nom"])) +/* else if ($c->already_exists ($_POST["nom"])) { // on regarde si le champ nom n'est pas déjà dans la table catégorie (rappel: un nom est unique dans la table catégorie // nb a déjà été renseigné, il contient le nombre de catégories echo "

".$langs->trans ("ErrCatAlreadyExists")."

"; $OK = false; } - +*/ if ($_POST["description"] == '') { echo "

".$langs->trans ("ErrForgotField")." \"".$langs->trans ("Description")."\"

";