diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index 38401c06a56..ce4d0d8e2dd 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -51,10 +51,11 @@ $html = new Form($db); if ($user->rights->produit->creer) { - if ($_GET["action"] == 'create' || $_POST["action"] == 'choicenbcats') + if ($_GET["action"] == 'create' || $_POST["addcat"] == 'addcat') { print '