diff --git a/htdocs/product/sousproduits/fiche.php b/htdocs/product/sousproduits/fiche.php index 34ed71bf5fc..02885f6e529 100644 --- a/htdocs/product/sousproduits/fiche.php +++ b/htdocs/product/sousproduits/fiche.php @@ -355,7 +355,7 @@ if ($id || $ref) print ''; print ''.$langs->trans("CategoryFilter"); - if(MAIN_MODULE_CATEGORIE) + if($conf->categorie->enabled) { print ''.$html->select_all_categories($catMere).''; }