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 '
".$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")."\"
";