aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Group
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2023-05-09 17:48:11 +0200
committerRobin Appelman <robin@icewind.nl>2023-05-11 17:30:04 +0200
commit4a864878593446133e7f135047ee7a7772561010 (patch)
tree06b795183d125ff4ef0f401ca3eb53e9392bfea9 /lib/private/Group
parent13b06ba4e25c4673f782bdf0bb356a07bfac0f7d (diff)
downloadnextcloud-server-4a864878593446133e7f135047ee7a7772561010.tar.gz
nextcloud-server-4a864878593446133e7f135047ee7a7772561010.zip
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>
Diffstat (limited to 'lib/private/Group')
-rw-r--r--lib/private/Group/Database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php
index edfc76ef836..ef5641d8137 100644
--- a/lib/private/Group/Database.php
+++ b/lib/private/Group/Database.php
@@ -283,7 +283,7 @@ class Database extends ABackend implements
)));
}
- if (!$limit > 0) {
+ if ($limit > 0) {
$query->setMaxResults($limit);
}
if ($offset > 0) {