mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
[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))
|
if (empty($data))
|
||||||
return array();
|
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);
|
$data = $this->getProcessedModules($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user