with several backends, more than limit can be returned
This commit is contained in:
parent
5170dc3ae6
commit
a7a532f58a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue