Fix: Si module catgorie non actif, ne pas afficher dans le menu

This commit is contained in:
Laurent Destailleur 2006-08-02 01:50:41 +00:00
parent efb24b9954
commit b721f1b844

View File

@ -492,8 +492,8 @@ class MenuLeft {
}
if ($conf->categorie->enabled)
$langs->load("categories");
{
$langs->load("categories");
$newmenu->add(DOL_URL_ROOT."/categories/index.php?leftmenu=cat", $langs->trans("Categories"), 0, $user->rights->categorie->lire);
if ($user->societe_id == 0)
{