diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-06-18 16:43:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-18 16:43:06 +0200 |
commit | 6b6c43bf79fdc58401f55361f21b3450c08f39ce (patch) | |
tree | 2cc0d605761fd5f44cf523f89cd2b55c856f1ae3 /lib | |
parent | 60adc92eb5a078b327ca2c1139a2fc1d729f714f (diff) | |
parent | 0f84351a762b83322ed556e3d023935720fc6fa4 (diff) | |
download | nextcloud-server-6b6c43bf79fdc58401f55361f21b3450c08f39ce.tar.gz nextcloud-server-6b6c43bf79fdc58401f55361f21b3450c08f39ce.zip |
Merge pull request #9884 from nextcloud/groups-search-use-proper-keys
Add search to users details groups
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Group/Group.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Group/Group.php b/lib/private/Group/Group.php index cc6315263d4..275b697bc3b 100644 --- a/lib/private/Group/Group.php +++ b/lib/private/Group/Group.php @@ -211,10 +211,10 @@ class Group implements IGroup { $userIds = $backend->usersInGroup($this->gid, $search, $limit, $offset); $users += $this->getVerifiedUsers($userIds); if (!is_null($limit) and $limit <= 0) { - return array_values($users); + return $users; } } - return array_values($users); + return $users; } /** |