From 2233a4d42797e33603c2cc1ee967374c8de5a85f Mon Sep 17 00:00:00 2001
From: Ramon Novoa <rnovoa@artica.es>
Date: Mon, 9 May 2011 16:22:45 +0000
Subject: [PATCH] 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
---
 pandora_console/ChangeLog                           | 4 ++++
 pandora_console/operation/agentes/estado_agente.php | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index 9873db6d76..105ce1317f 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -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>
 
diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php
index fb02943ac6..6549f5f820 100644
--- a/pandora_console/operation/agentes/estado_agente.php
+++ b/pandora_console/operation/agentes/estado_agente.php
@@ -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),