diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index 02a696f5b11..54acb881f74 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -72,11 +72,16 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) print $html->select_nombre_sous_categorie($nbcats,"choix").' '; print $langs->trans("categories"); print ''; - print ''; + print ''; print ''; - print $html->select_all_categories($nbcats); + + if ($_GET["action"] == 'create' || $_POST["action"] == 'choicenbcats') + { + print $html->select_all_categories($nbcats); + } + print ''; - print ''; + print ''; print '';