From 443c3b22f4d15a6415582ccd61b0f134d817e593 Mon Sep 17 00:00:00 2001
From: mdtrooper <tres.14159@gmail.com>
Date: Wed, 21 Oct 2009 20:07:21 +0000
Subject: [PATCH] 2009-10-21  Miguel de Dios  <miguel.dedios@artica.es>

	* operation/search_results.php: fix interval agent in the search result
	list.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_console/ChangeLog                    | 5 +++++
 pandora_console/operation/search_results.php | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index 21322877b5..3b6620a8ad 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-21  Miguel de Dios  <miguel.dedios@artica.es>
+
+	* operation/search_results.php: fix interval agent in the search result
+	list.
+
 2009-10-21  Ramon Novoa  <rnovoa@artica.es>
 
 	* include/functions_custom_graphs.php,
diff --git a/pandora_console/operation/search_results.php b/pandora_console/operation/search_results.php
index 804ff79176..053bfcab23 100644
--- a/pandora_console/operation/search_results.php
+++ b/pandora_console/operation/search_results.php
@@ -302,7 +302,7 @@ else {
 			array_push($table->data, array(
 				print_agent_name ($agent["id_agente"], true, "upper"),
 				print_os_icon ($agent["id_os"], false, true),
-				(($agent_info["interval"] > $agent["intervalo"]) ? $agent_info["interval"]  : $agent['intervalo']),
+				$agent['intervalo'],
 				print_group_icon ($agent["id_grupo"], true),
 				$modulesCell,
 				$agent_info["status_img"],