mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
gestion catgorie de produits
This commit is contained in:
parent
1c9ceb02fe
commit
2ef242bb35
|
|
@ -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à 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 "<p>".$langs->trans ("ErrCatAlreadyExists")."</p>";
|
||||
$OK = false;
|
||||
}
|
||||
|
||||
*/
|
||||
if ($_POST["description"] == '')
|
||||
{
|
||||
echo "<p>".$langs->trans ("ErrForgotField")." \"".$langs->trans ("Description")."\"</p>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user