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:
parent
b1133a50a9
commit
cc6931bc90
|
@ -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>
|
2011-05-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* include/functions_graph.php
|
* include/functions_graph.php
|
||||||
|
|
|
@ -268,13 +268,13 @@ if (! empty ($agent_names)) {
|
||||||
$agents = db_get_all_rows_sql ($sql);
|
$agents = db_get_all_rows_sql ($sql);
|
||||||
|
|
||||||
}else{
|
}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',
|
'order' => 'nombre ASC',
|
||||||
'disabled' => 0,
|
'disabled' => 0,
|
||||||
'id_grupo' => $groups),
|
'id_grupo' => $groups),
|
||||||
array ('COUNT(*) as total'));
|
array ('COUNT(*) as total'));
|
||||||
$total_agents = isset ($total_agents[0]['total']) ? $total_agents[0]['total'] : 0;
|
$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',
|
'order' => 'nombre ASC',
|
||||||
'id_grupo' => $groups,
|
'id_grupo' => $groups,
|
||||||
'offset' => (int) get_parameter ('offset'),
|
'offset' => (int) get_parameter ('offset'),
|
||||||
|
|
Loading…
Reference in New Issue