Skip to content

Commit

Permalink
Fix group sorting in user list group selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry authored and blizzz committed Aug 29, 2016
1 parent 17964a8 commit 1f3d34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings/templates/users/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

$userlistParams = array();
$allGroups=array();
foreach($_["groups"] as $group) {
foreach($_["adminGroup"] as $group) {
$allGroups[] = $group['name'];
}
foreach($_["adminGroup"] as $group) {
foreach($_["groups"] as $group) {
$allGroups[] = $group['name'];
}
$userlistParams['subadmingroups'] = $allGroups;
Expand Down

0 comments on commit 1f3d34e

Please sign in to comment.