2011-05-10 Junichi Satoh <junichi@rworks.jp>

* 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
This commit is contained in:
jsatoh 2011-05-10 04:10:19 +00:00
parent b1133a50a9
commit cc6931bc90
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-05-10 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/estado_agente.php: Replaced get_agents() with
agents_get_agents().
2011-05-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php

View File

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