From 463c5f6fccab5c5b0f750b512a4617187297a56c Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 23 Apr 2012 17:21:46 +0000 Subject: [PATCH] 2012-04-23 Miguel de Dios * include/functions_visual_map.php: fixed into the function "visual_map_print_visual_map" the unclose links of percentile bar. Fixes: #3520640 MERGED FROM 4.0.2 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 9 +++++++++ pandora_console/include/functions_visual_map.php | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a7a9073b76..dbd241c583 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2012-04-23 Miguel de Dios + + * include/functions_visual_map.php: fixed into the function + "visual_map_print_visual_map" the unclose links of percentile bar. + + Fixes: #3520640 + + MERGED FROM 4.0.2 + 2012-04-23 Miguel de Dios * index.php: fixed php noticie message about uninicialized var. diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index 45ed439186..851f709683 100644 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -1175,21 +1175,25 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line //Link to an service page echo ''; + $endTagA = true; } else { // Link to an agent echo ''; + $endTagA = true; } } elseif ($layout_data['id_layout_linked'] > 0) { // Link to a map echo ''; + $endTagA = true; } else { // A void object echo ''; + $endTagA = true; } } @@ -1219,7 +1223,7 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line echo progress_bar($percentile, $width, 15, '', 1, $value_text, $colorStatus); } - if ($endTagA) echo ''; + if ($endTagA) echo ''; echo ''; break;