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:
parent
1e0b008bf9
commit
d1b97ef985
|
@ -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
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue