2013-11-18 Sergio Martin <sergio.martin@artica.es>

* include/functions_visual_map.php: Fixed status
	of visual map items when have a fired alert for
	incident #391



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-11-18 15:10:11 +00:00
parent 357dd1913e
commit 510a693c0b
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2013-11-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php: Fixed status
of visual map items when have a fired alert for
incident #391
2013-11-15 Vanessa Gil <vanessa.gil@artica.es> 2013-11-15 Vanessa Gil <vanessa.gil@artica.es>
* include/languages/ar.mo * include/languages/ar.mo

View File

@ -844,6 +844,10 @@ function visual_map_get_status_element($layoutData) {
$id_agent = 0; $id_agent = 0;
} }
if ($status == AGENT_MODULE_STATUS_CRITICAL_ALERT) {
$status = VISUAL_MAP_STATUS_CRITICAL_ALERT;
}
if ($layoutData['id_metaconsole'] != 0) { if ($layoutData['id_metaconsole'] != 0) {
//Restore db connection //Restore db connection
metaconsole_restore_db(); metaconsole_restore_db();