From 8b730f3375cd2c3500a44c94d3d16f9e7c3547ac Mon Sep 17 00:00:00 2001 From: slerena Date: Wed, 18 Aug 2010 17:35:06 +0000 Subject: [PATCH] 2010-08-18 Sancho Lerena * pandora_console/operation/search_results.php: Fixed reference for "down" instead "unknown" using the new code for unknown status. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 3 +++ pandora_console/operation/search_results.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index cbd7087f6b..2fb7f42af9 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,5 +1,8 @@ 2010-08-18 Sancho Lerena + * pandora_console/operation/search_results.php: Fixed reference for + "down" instead "unknown" using the new code for unknown status. + * include/functions_io.php: safe_input() modified to detect SQL injection attacks using /**/ strings. diff --git a/pandora_console/operation/search_results.php b/pandora_console/operation/search_results.php index 0c3c93ef52..ae8f779e1a 100644 --- a/pandora_console/operation/search_results.php +++ b/pandora_console/operation/search_results.php @@ -565,8 +565,8 @@ else { $modulesCell .= ' : '.$agent_info["monitor_warning"].''; if ($agent_info["monitor_critical"] > 0) $modulesCell .= ' : '.$agent_info["monitor_critical"].''; - if ($agent_info["monitor_down"] > 0) - $modulesCell .= ' : '.$agent_info["monitor_down"].''; + if ($agent_info["monitor_unknown"] > 0) + $modulesCell .= ' : '.$agent_info["monitor_unknown"].''; if ($agent['disabled']) { $cellName = "" . print_agent_name ($agent["id_agente"], true, "upper") .print_help_tip(__('Disabled'), true) . "";