Fix: Si module catégorie non actif, ne pas afficher dans le menu
This commit is contained in:
parent
efb24b9954
commit
b721f1b844
@ -492,8 +492,8 @@ class MenuLeft {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->categorie->enabled)
|
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);
|
$newmenu->add(DOL_URL_ROOT."/categories/index.php?leftmenu=cat", $langs->trans("Categories"), 0, $user->rights->categorie->lire);
|
||||||
if ($user->societe_id == 0)
|
if ($user->societe_id == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user