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) . "";