diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 6bc85d3d55..b523e3761f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-07-14 Juan Manuel Ramon + + * include/functions_agents.php: Added "subquery_enterprise" variable + initialization. + 2011-07-14 Juan Manuel Ramon * godmode/reporting/reporting_builder.item_editor.php: Fixes diff --git a/pandora_console/include/functions_agents.php b/pandora_console/include/functions_agents.php index 2daf3cf9f1..04d08052fb 100644 --- a/pandora_console/include/functions_agents.php +++ b/pandora_console/include/functions_agents.php @@ -902,6 +902,7 @@ function agents_get_group_agents ($id_group = 0, $search = false, $case = "lower function agents_get_modules ($id_agent = null, $details = false, $filter = false, $indexed = true, $get_not_init_modules = true) { global $config; + $subquery_enterprise = ''; if (ENTERPRISE_NOT_HOOK !== enterprise_include_once('include/functions_policies.php')) { $subquery_enterprise = subquery_acl_enterprise(); }