Fixed map link in visual console when using group items. Ticket#2890

This commit is contained in:
Arturo Gonzalez Diaz 2015-10-28 10:46:04 +01:00
parent c87b211eb1
commit af1f162319
1 changed files with 2 additions and 2 deletions

View File

@ -1240,7 +1240,7 @@ 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()) {