From af1f1623195b77ebde7b269f4f0d02f81892297b Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Diaz Date: Wed, 28 Oct 2015 10:46:04 +0100 Subject: [PATCH] Fixed map link in visual console when using group items. Ticket#2890 --- pandora_console/include/functions_visual_map.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index 733733086a..73987ff2c9 100644 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -1240,8 +1240,8 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, if ($show_links) { if ((!empty($layout_data['id_agent']) && empty($layout_data['id_layout_linked'])) - || ($layout_data['type'] == GROUP_ITEM)) { - + || (($layout_data['type'] == GROUP_ITEM) && (empty($layout_data['id_layout_linked'])))) { + if ($layout_data['enable_link'] && can_user_access_node()) {