Merge branch '2611-Cache_de_vista_de_arbol_y_vista_de_grupos' into 'develop'

fixed performance in group view

See merge request artica/pandorafms!1734
This commit is contained in:
nramon 2018-09-06 10:46:36 +02:00
commit 4e7d641667

View File

@ -2941,7 +2941,10 @@ function group_get_groups_list($id_user = false, $user_strict = false, $access =
function groups_get_group_deep ($id_group) {
global $config;
$parents = groups_get_parents($id_group, false);
$groups = users_get_groups(false, "AR", true, true);
$parents = groups_get_parents($id_group, false, $groups);
if (empty($parents)) {
$deep = "";