mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
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
a23c412b98
commit
99defec315
@ -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…
x
Reference in New Issue
Block a user