diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 82900d73d7..e89d5a517e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-11-18 Sergio Martin + + * include/functions_visual_map.php: Fixed status + of visual map items when have a fired alert for + incident #391 + 2013-11-15 Vanessa Gil * include/languages/ar.mo diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index c1c556b73e..2316941b6e 100644 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -844,6 +844,10 @@ function visual_map_get_status_element($layoutData) { $id_agent = 0; } + if ($status == AGENT_MODULE_STATUS_CRITICAL_ALERT) { + $status = VISUAL_MAP_STATUS_CRITICAL_ALERT; + } + if ($layoutData['id_metaconsole'] != 0) { //Restore db connection metaconsole_restore_db();