2012-02-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* general/shortcut_bar.php: Fixed realtime update of alerts counter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-02-01 12:27:33 +00:00
parent 1e0b008bf9
commit d1b97ef985
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-02-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* general/shortcut_bar.php: Fixed realtime update of alerts counter.
2012-02-01 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql

View File

@ -47,11 +47,11 @@
$shortcut_events_update = events_get_group_events($own_groups, 28800, time());
if ($shortcut_events_update == false)
$shortcut_events_update = array();
$critical_events_update = 0;
foreach($shortcut_events_update as $event_update){
if ($event_update['criticity'] == 4 and $event_update['estado'] == 0){
$critical_events++;
$critical_events_update++;
}
}