diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 119c8f35f4..cf2db4fd5b 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,13 @@ +2010-08-04 Sergio Martin + + * include/functions_reporting.php: Fixed the get_agent_module_info function + for avoid to show the disabled modules information + +2010-08-04 Sergio Martin + + * images/status_sets/default/module_no_data_ball.png: Added a image + to modules without data + 2010-08-04 Sergio Martin * include/styles/pandora.css diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 9592d450e1..6e6c0a49b2 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -1506,8 +1506,14 @@ function get_agent_module_info ($id_agent, $filter = false) { return $return; } + if($filter != ''){ + $filter = 'AND '; + } + + $filter = 'disabled = 0'; + $modules = get_agent_modules($id_agent, false, $filter, true, false); - + if ($modules === false) { return $return; }