Skip to content
Snippets Groups Projects
Commit cd58c93d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX If option to hide automatic ECM is on, dont show menu.

parent 20e110a8
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ class modECM extends DolibarrModules
'langs'=>'ecm',
'position'=>103,
'perms'=>'$user->rights->ecm->read || $user->rights->ecm->upload',
'enabled'=>'$user->rights->ecm->read || $user->rights->ecm->upload',
'enabled'=>'($user->rights->ecm->read || $user->rights->ecm->upload) && ! empty($conf->global->ECM_AUTO_TREE_ENABLED)',
'target'=>'',
'user'=>2); // 0=Menu for internal users, 1=external users, 2=both
$r++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment