2011-07-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* include/functions_agents.php: Added "subquery_enterprise" variable 
	initialization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-07-14 14:24:49 +00:00
parent 7cce52762f
commit 1112cf28f5
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-07-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Added "subquery_enterprise" variable
initialization.
2011-07-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: Fixes

View File

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