Fixed an acl error
This commit is contained in:
parent
2048e9408e
commit
32b5415a07
|
@ -35,6 +35,13 @@ class Tree {
|
||||||
$this->countModuleStatusMethod = $countModuleStatusMethod;
|
$this->countModuleStatusMethod = $countModuleStatusMethod;
|
||||||
$this->countAgentStatusMethod = $countAgentStatusMethod;
|
$this->countAgentStatusMethod = $countAgentStatusMethod;
|
||||||
|
|
||||||
|
$userGroups = users_get_groups();
|
||||||
|
|
||||||
|
if (empty($userGroups))
|
||||||
|
$this->userGroups = false;
|
||||||
|
else
|
||||||
|
$this->userGroups = $userGroups;
|
||||||
|
|
||||||
global $config;
|
global $config;
|
||||||
include_once($config['homedir']."/include/functions_servers.php");
|
include_once($config['homedir']."/include/functions_servers.php");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue