mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 09:01:40 +01:00
fix: possibilit de crer des sous catgories ayant le mme nom
This commit is contained in:
@@ -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"],$_POST["catsMeres"]) // on regarde si le nom n'existe pas d<>j<EFBFBD> en tant que cat<61>gorie ou sous-cat<61>gorie
|
||||
else if ($c->already_exists($_POST["nom"],$_POST["catsMeres"])) // on regarde si le nom n'existe pas d<>j<EFBFBD> en tant que cat<61>gorie ou sous-cat<61>gorie
|
||||
{
|
||||
echo "<p>".$langs->trans ("ErrCatAlreadyExists")."</p>";
|
||||
$OK = false;
|
||||
|
||||
Reference in New Issue
Block a user