2011-05-09 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/estado_agente.php: Replaced a call to the old get_db_all_rows_sql with db_get_all_rows_sql. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
081ee66a63
commit
2233a4d427
|
@ -1,3 +1,7 @@
|
|||
2011-05-09 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* operation/agentes/estado_agente.php: Replaced a call to the old
|
||||
get_db_all_rows_sql with db_get_all_rows_sql.
|
||||
|
||||
2011-05-09 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
|
|
|
@ -265,7 +265,7 @@ if (! empty ($agent_names)) {
|
|||
$sql = sprintf ('SELECT COUNT(*) FROM tagente WHERE 1=1 %s', $search_sql);
|
||||
$total_agents = db_get_sql ($sql);
|
||||
$sql = sprintf ('SELECT * FROM tagente WHERE 1=1 %s ORDER BY %s %s LIMIT %d, %d', $search_sql, $order['field'], $order['order'], $offset, $config["block_size"]);
|
||||
$agents = get_db_all_rows_sql ($sql);
|
||||
$agents = db_get_all_rows_sql ($sql);
|
||||
|
||||
}else{
|
||||
$total_agents = get_agents (array ('id_agente' => array_keys ($agent_names),
|
||||
|
|
Loading…
Reference in New Issue