From ab31b3bec2913fdccf8aaa80265910858cf3df90 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 10 Mar 2014 17:33:38 +0000 Subject: [PATCH] 2014-03-10 Miguel de Dios * include/functions_visual_map.php: fixed images of static graphs. Incident: #571 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/include/functions_visual_map.php | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f02e461e44..b053271aa4 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2014-03-10 Miguel de Dios + + * include/functions_visual_map.php: fixed images of static graphs. + + Incident: #571 + 2014-03-10 Miguel de Dios * godmode/modules/manage_network_components_form.php: fixed the diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index 1bf326164e..195050c6b8 100644 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -778,7 +778,7 @@ function visual_map_get_image_status_element($layoutData) { break; case 4: //Critical (ALERT) - $img = "4" . $img . "_bad.png"; + $img = $img . "_bad.png"; break; case 0: //Normal (OK) @@ -790,7 +790,7 @@ function visual_map_get_image_status_element($layoutData) { break; case 10: //Warning (ALERT) - $img = "4" . $img . "_warning.png"; + $img = $img . "_warning.png"; break; case 3: //Unknown