mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
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:
parent
e49c1f8ddf
commit
d20c2fcde5
@ -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>
|
2010-08-04 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/styles/pandora.css
|
* include/styles/pandora.css
|
||||||
|
@ -1506,8 +1506,14 @@ function get_agent_module_info ($id_agent, $filter = false) {
|
|||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($filter != ''){
|
||||||
|
$filter = 'AND ';
|
||||||
|
}
|
||||||
|
|
||||||
|
$filter = 'disabled = 0';
|
||||||
|
|
||||||
$modules = get_agent_modules($id_agent, false, $filter, true, false);
|
$modules = get_agent_modules($id_agent, false, $filter, true, false);
|
||||||
|
|
||||||
if ($modules === false) {
|
if ($modules === false) {
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user