2009-11-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: fix now don't show alerts with delete pending modules. * index.php: clean source code, end return that show in browser. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c8e7c4b700
commit
191d5dafef
|
@ -1,3 +1,9 @@
|
|||
2009-11-30 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_agents.php: fix now don't show alerts with
|
||||
delete pending modules.
|
||||
* index.php: clean source code, end return that show in browser.
|
||||
|
||||
2009-11-30 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* godmode/servers/plugin.php, godmode/reporting/map_builder.php,
|
||||
|
|
|
@ -140,7 +140,7 @@ function get_agent_alerts_simple ($id_agent = false, $filter = '', $options = fa
|
|||
}
|
||||
else {
|
||||
$id_agent = (array) $id_agent;
|
||||
$id_modules = array_keys (get_agent_modules ($id_agent));
|
||||
$id_modules = array_keys (get_agent_modules ($id_agent, false, array('delete_pending' => 0)));
|
||||
if (empty ($id_modules))
|
||||
return array ();
|
||||
|
||||
|
|
Loading…
Reference in New Issue