From cd3ed4436021aa89ebea939d60dd429126306206 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 21 Feb 2004 16:23:50 +0000 Subject: [PATCH] Le test sur l'activation du module est fait selon le "if ($conf->module->enabled)" --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index bc3fa94a17b..82257511d31 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -558,7 +558,7 @@ Function left_menu($menu, $help_url='', $form_search='', $author='') print "\n"; } - if (defined("MAIN_MODULE_PRODUIT") && MAIN_MODULE_PRODUIT > 0) + if ($conf->produit->enabled) { print '
'; print 'Produits
';