Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
@@ -283,7 +283,7 @@ class Database extends ABackend implements
)));
}
- if (!$limit > 0) {
+ if ($limit > 0) {
$query->setMaxResults($limit);
if ($offset > 0) {