From 99defec3157f29feb750e6def07d9b6b1390ca8f Mon Sep 17 00:00:00 2001 From: jsatoh Date: Tue, 10 May 2011 04:10:19 +0000 Subject: [PATCH] 2011-05-10 Junichi Satoh * operation/agentes/estado_agente.php: Replaced get_agents() with agents_get_agents(). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/operation/agentes/estado_agente.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e9126e4de8..7f9f0ec786 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-05-10 Junichi Satoh + + * operation/agentes/estado_agente.php: Replaced get_agents() with + agents_get_agents(). + 2011-05-09 Juan Manuel Ramon * include/functions_graph.php diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php index eeb604ec11..ceba29b9c2 100644 --- a/pandora_console/operation/agentes/estado_agente.php +++ b/pandora_console/operation/agentes/estado_agente.php @@ -268,13 +268,13 @@ if (! empty ($agent_names)) { $agents = db_get_all_rows_sql ($sql); }else{ - $total_agents = get_agents (array ('id_agente' => array_keys ($agent_names), + $total_agents = agents_get_agents (array ('id_agente' => array_keys ($agent_names), 'order' => 'nombre ASC', 'disabled' => 0, 'id_grupo' => $groups), array ('COUNT(*) as total')); $total_agents = isset ($total_agents[0]['total']) ? $total_agents[0]['total'] : 0; - $agents = get_agents (array ('id_agente' => array_keys ($agent_names), + $agents = agents_get_agents (array ('id_agente' => array_keys ($agent_names), 'order' => 'nombre ASC', 'id_grupo' => $groups, 'offset' => (int) get_parameter ('offset'),