Fixed an acl error

This commit is contained in:
Alejandro Gallardo Escobar 2015-01-08 16:39:35 +01:00
parent 2048e9408e
commit 32b5415a07
1 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,13 @@ class Tree {
$this->countModuleStatusMethod = $countModuleStatusMethod;
$this->countAgentStatusMethod = $countAgentStatusMethod;
$userGroups = users_get_groups();
if (empty($userGroups))
$this->userGroups = false;
else
$this->userGroups = $userGroups;
global $config;
include_once($config['homedir']."/include/functions_servers.php");
}