forked from Wavyzz/dolibarr
gestion catgorie de produits
This commit is contained in:
@@ -139,14 +139,14 @@ print '<tr><td valign="top" width="30%">';
|
||||
echo "<p>".$langs->trans ("ErrForgotField")." \"".$langs->trans ("Label")."\"</p>";
|
||||
$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<EFBFBD> dans la table cat<61>gorie (rappel: un nom est unique dans la table cat<61>gorie
|
||||
// nb a d<>j<EFBFBD> <20>t<EFBFBD> renseign<67>, il contient le nombre de cat<61>gories
|
||||
echo "<p>".$langs->trans ("ErrCatAlreadyExists")."</p>";
|
||||
$OK = false;
|
||||
}
|
||||
|
||||
*/
|
||||
if ($_POST["description"] == '')
|
||||
{
|
||||
echo "<p>".$langs->trans ("ErrForgotField")." \"".$langs->trans ("Description")."\"</p>";
|
||||
|
||||
Reference in New Issue
Block a user