Fixed problems with menu. Internal Ticket: #3912

This commit is contained in:
m-lopez-f 2016-08-29 16:09:11 +02:00
parent e21eabbf04
commit 3ae6866ab0

View File

@ -186,9 +186,8 @@ if (check_acl ($config['id_user'], 0, "VR")) {
$sub["godmode/reporting/map_builder"]["sub2"] = $sub2;
}
}
// Agent read, Server read
if (check_acl ($config['id_user'], 0, "AR")) {
// Agent read, Server read
if (check_acl ($config['id_user'], 0, "AR")) {
//INI GIS Maps
if ($config['activate_gis']) {
$sub["gismaps"]["text"] = __('GIS Maps');
@ -227,11 +226,6 @@ if (check_acl ($config['id_user'], 0, "VR")) {
$sub["gismaps"]["sub2"] = $sub2;
}
//END GIS Maps
}
$menu_operation["network"]["sub"] = $sub;
//End networkview
}
if (check_acl ($config['id_user'], 0, "AR") || check_acl ($config['id_user'], 0, "MR"))