Hide admin tools empty link in left menu bar for operator read users without permissions - #922
This commit is contained in:
parent
8a1136d99e
commit
d413b7d22d
|
@ -408,7 +408,9 @@ if (is_array ($config['extensions'])) {
|
|||
$sub["godmode/extensions"]["subtype"] = 'nolink';
|
||||
|
||||
$submenu = array_merge($menu_godmode["gextensions"]["sub"],$sub);
|
||||
$menu_godmode["gextensions"]["sub"] = $submenu;
|
||||
if($menu_godmode['gextensions']['sub'] != null){
|
||||
$menu_godmode["gextensions"]["sub"] = $submenu;
|
||||
}
|
||||
}
|
||||
|
||||
$menu_godmode["links"]["text"] = __('Links');
|
||||
|
|
Loading…
Reference in New Issue