Fix: enlever le filtre catgorie si le module n'est pas actif

This commit is contained in:
Regis Houssin
2006-03-21 15:37:51 +00:00
parent b08f966da0
commit 17dbf80228

View File

@@ -355,7 +355,7 @@ if ($id || $ref)
print '</td></tr>';
print '<tr><td>'.$langs->trans("CategoryFilter");
if(MAIN_MODULE_CATEGORIE)
if($conf->categorie->enabled)
{
print '</td><td>'.$html->select_all_categories($catMere).'</td></tr>';
}