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

* include/functions_visual_map.php: Fixed visual console links
	to other visual consoles when there are alert fired on them
	for bug #391



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-11-20 08:56:31 +00:00
parent 201c192e97
commit 643c1b6103
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2013-11-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php: Fixed visual console links
to other visual consoles when there are alert fired on them
for bug #391
2013-11-19 Ramon Novoa <rnovoa@artica.es>
* godmode/reporting/reporting_builder.php,

View File

@ -844,10 +844,6 @@ 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();
@ -863,6 +859,10 @@ function visual_map_get_status_element($layoutData) {
}
}
if ($status == AGENT_MODULE_STATUS_CRITICAL_ALERT) {
$status = VISUAL_MAP_STATUS_CRITICAL_ALERT;
}
return $status;
}