From b5da4107283571ff59743e6bcde6956de014e7b9 Mon Sep 17 00:00:00 2001 From: jsatoh Date: Tue, 21 Feb 2012 01:51:33 +0000 Subject: [PATCH] 2012-02-21 Junichi Satoh * mobile/operation/agents/view_alerts.php: Fixed sql query error. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/mobile/operation/agents/view_alerts.php | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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;