Hide admin tools empty link in left menu bar for operator read users without permissions - #922

This commit is contained in:
enriquecd 2017-05-25 18:37:26 +02:00
parent 8a1136d99e
commit d413b7d22d
1 changed files with 3 additions and 1 deletions

View File

@ -408,7 +408,9 @@ if (is_array ($config['extensions'])) {
$sub["godmode/extensions"]["subtype"] = 'nolink';
$submenu = array_merge($menu_godmode["gextensions"]["sub"],$sub);
if($menu_godmode['gextensions']['sub'] != null){
$menu_godmode["gextensions"]["sub"] = $submenu;
}
}
$menu_godmode["links"]["text"] = __('Links');