diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0251dd99f0..bc8394e852 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2012-02-21 Junichi Satoh + + * mobile/operation/agents/view_alerts.php: Fixed sql query error. + 2012-02-20 Vanessa Gil * pandoradb.sql pandoradb.oracle.sql diff --git a/pandora_console/mobile/operation/agents/view_alerts.php b/pandora_console/mobile/operation/agents/view_alerts.php index 93926dbaee..922d80586d 100644 --- a/pandora_console/mobile/operation/agents/view_alerts.php +++ b/pandora_console/mobile/operation/agents/view_alerts.php @@ -47,8 +47,9 @@ class ViewAlerts { $groups = users_get_groups($this->system->getConfig('id_user')); $idGroups = array_keys($groups); $agents = agents_get_group_agents($idGroups); + $idAgents = array_keys($agents); - $alertsSimple = agents_get_alerts_simple($agents); + $alertsSimple = agents_get_alerts_simple($idAgents); $rowPair = false; $iterator = 0;