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'),