Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-06-18 17:43:06 +0300
committerGitHub <noreply@github.com>2018-06-18 17:43:06 +0300
commit6b6c43bf79fdc58401f55361f21b3450c08f39ce (patch)
tree2cc0d605761fd5f44cf523f89cd2b55c856f1ae3 /lib
parent60adc92eb5a078b327ca2c1139a2fc1d729f714f (diff)
parent0f84351a762b83322ed556e3d023935720fc6fa4 (diff)
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.php4
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;
}
/**