sqlite requires limit/offset, offset/limit is treated as a syntax error

This commit is contained in:
Shish 2019-11-11 16:53:11 +00:00
parent c94f289291
commit 962f6073ff

View file

@ -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;
}