From 962f6073ff5c94c49f4a56589e8284a6b4674355 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 11 Nov 2019 16:53:11 +0000 Subject: [PATCH] sqlite requires limit/offset, offset/limit is treated as a syntax error --- ext/ipban/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ipban/main.php b/ext/ipban/main.php index 81877c9a..55daa494 100644 --- a/ext/ipban/main.php +++ b/ext/ipban/main.php @@ -316,7 +316,7 @@ class IPBan extends Extension if (is_null($page)) { $pager = ""; } else { - $pager = "OFFSET :offset LIMIT :limit"; + $pager = "LIMIT :limit OFFSET :offset"; $args["offset"] = ($page-1)*$size; $args['limit'] = $size; }