2010-08-04 Sergio Martin <sergio.martin@artica.es>

* include/functions_reporting.php: Fixed the get_agent_module_info function
	for avoid to show the disabled modules information



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-08-04 17:26:17 +00:00
parent 58b139f35b
commit 83afcb318c
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,13 @@
2010-08-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fixed the get_agent_module_info function
for avoid to show the disabled modules information
2010-08-04 Sergio Martin <sergio.martin@artica.es>
* images/status_sets/default/module_no_data_ball.png: Added a image
to modules without data
2010-08-04 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css

View File

@ -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;
}