2014-06-03 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_groups.php: Fixed problem with ACLs in group view. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
775aadd7ed
commit
4ab5a7de72
|
@ -1,3 +1,8 @@
|
|||
2014-06-03 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* include/functions_groups.php: Fixed problem
|
||||
with ACLs in group view.
|
||||
|
||||
2014-06-03 Alejandro Gallardo <alejandro.gallardo@artica.es>
|
||||
|
||||
* include/functions_visual_map.php: Now the linked visual
|
||||
|
|
|
@ -247,11 +247,15 @@ function groups_get_childrens($parent, $groups = null) {
|
|||
if ($group['id_grupo'] == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($group['propagate']) {
|
||||
if ($group['parent'] == $parent) {
|
||||
$return = $return + array($group['id_grupo'] => $group) + groups_get_childrens($group['id_grupo'], $groups);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue