Merge branch 'no-cargan-los-modulos-en-cualquier-arbol-que-no-sea-el-de-grupos' into 'develop'

Resolve: No cargan los modulos en cualquier arbol que no sea el de grupos

See merge request artica/pandorafms!977
This commit is contained in:
vgilc 2017-11-29 16:48:38 +01:00
commit ef86663813
1 changed files with 2 additions and 1 deletions

View File

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