fix: possibilit de crer des sous catgories ayant le mme nom
This commit is contained in:
parent
d310af3f56
commit
bfccefd66c
@ -139,7 +139,7 @@ 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"])) // on regarde si le nom n'existe pas déjà en tant que catégorie ou sous-catégorie
|
||||
else if ($c->already_exists($_POST["nom"],$_POST["catsMeres"]) // on regarde si le nom n'existe pas déjà en tant que catégorie ou sous-catégorie
|
||||
{
|
||||
echo "<p>".$langs->trans ("ErrCatAlreadyExists")."</p>";
|
||||
$OK = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user