Fix group sorting in user list group selection
This commit is contained in:
parent
17964a8955
commit
1f3d34eb28
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@ style('settings', 'settings');
|
|||
|
||||
$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;
|
||||
|
|
Loading…
Reference in a new issue