Skip to content

Commit

Permalink
Fixed group permission editor bug (bug #756)
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Feb 6, 2017
1 parent 97d9a29 commit bd3e7e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public_html/admin/group.php
Expand Up @@ -384,6 +384,9 @@ function removeIndirectFeatures($grp_id, array $features)
$retval[] = $feature;
}
}
} else {
// There is no indirect feature
$retval = $features;
}
}

Expand Down Expand Up @@ -660,7 +663,7 @@ function savegroup($grp_id, $grp_name, $grp_descr, $grp_admin, $grp_gl_core, $gr
// now save the features
DB_delete($_TABLES['access'], 'acc_grp_id', $grp_id);

// Remove features inherited from groups (bug #
// Remove features inherited from groups (bug #642)
$features = removeIndirectFeatures($grp_id, $features);

if (count($features) > 0) {
Expand Down

0 comments on commit bd3e7e2

Please sign in to comment.