[Console] Now the modules are shown correctly into the trees that nobody use
This commit is contained in:
parent
db056100e2
commit
ecdbf9bcc4
|
@ -1133,7 +1133,8 @@ class Tree {
|
|||
if (empty($data))
|
||||
return array();
|
||||
|
||||
if ($this->type == 'agent') {
|
||||
// [26/10/2017] It seems the module hierarchy should be only available into the tree by group
|
||||
if ($this->rootType == 'group' && $this->type == 'agent') {
|
||||
$data = $this->getProcessedModules($data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue