Skip to content

Commit 36703b7

Browse files
skjnldsvcome-nc
authored andcommitted
fix: getGroups limit check syntax
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
1 parent ae8b792 commit 36703b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Group/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public function getGroups(string $search = '', int $limit = -1, int $offset = 0)
283283
)));
284284
}
285285

286-
if (!$limit > 0) {
286+
if ($limit > 0) {
287287
$query->setMaxResults($limit);
288288
}
289289
if ($offset > 0) {

0 commit comments

Comments
 (0)