diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-10-10 18:58:39 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-10-17 20:16:04 +0200 |
commit | a7a532f58a8476cb83e8d11f527e1f19d82ef135 (patch) | |
tree | fd65ed5d887b83660f7672964f3b2300dc27acc9 /lib/private/group/manager.php | |
parent | 5170dc3ae6c09f9c0a261e976caae21f61a17c23 (diff) | |
download | nextcloud-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.php | 2 |
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); |