summaryrefslogtreecommitdiffstats
path: root/lib/private/group/manager.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-10-10 18:58:39 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-10-17 20:16:04 +0200
commita7a532f58a8476cb83e8d11f527e1f19d82ef135 (patch)
treefd65ed5d887b83660f7672964f3b2300dc27acc9 /lib/private/group/manager.php
parent5170dc3ae6c09f9c0a261e976caae21f61a17c23 (diff)
downloadnextcloud-server-a7a532f58a8476cb83e8d11f527e1f19d82ef135.tar.gz
nextcloud-server-a7a532f58a8476cb83e8d11f527e1f19d82ef135.zip
with several backends, more than limit can be returned
Diffstat (limited to 'lib/private/group/manager.php')
-rw-r--r--lib/private/group/manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/group/manager.php b/lib/private/group/manager.php
index 816e7b427f5..33a1904dddf 100644
--- a/lib/private/group/manager.php
+++ b/lib/private/group/manager.php
@@ -237,7 +237,7 @@ class Manager extends PublicEmitter implements IGroupManager {
}
}
$searchOffset += $searchLimit;
- } while(count($groupUsers) < $searchLimit+$offset && count($filteredUsers) === $searchLimit);
+ } while(count($groupUsers) < $searchLimit+$offset && count($filteredUsers) >= $searchLimit);
if($limit === -1) {
$groupUsers = array_slice($groupUsers, $offset);