sqlite requires limit/offset, offset/limit is treated as a syntax error
This commit is contained in:
parent
c94f289291
commit
962f6073ff
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ class IPBan extends Extension
|
||||||
if (is_null($page)) {
|
if (is_null($page)) {
|
||||||
$pager = "";
|
$pager = "";
|
||||||
} else {
|
} else {
|
||||||
$pager = "OFFSET :offset LIMIT :limit";
|
$pager = "LIMIT :limit OFFSET :offset";
|
||||||
$args["offset"] = ($page-1)*$size;
|
$args["offset"] = ($page-1)*$size;
|
||||||
$args['limit'] = $size;
|
$args['limit'] = $size;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue