mirror of
https://github.com/kvazar-network/webapp.git
synced 2025-08-26 14:32:00 +00:00
fix pagination condition
This commit is contained in:
parent
65f88f08b4
commit
bb19092d82
@ -32,7 +32,7 @@ if (SEF_MODE && isset($_SERVER['QUERY_STRING'])) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($page > 1) {
|
if ($page > 0) {
|
||||||
$limit = PAGE_LIMIT * $page - PAGE_LIMIT;
|
$limit = PAGE_LIMIT * $page - PAGE_LIMIT;
|
||||||
} else {
|
} else {
|
||||||
$limit = PAGE_LIMIT * $page;
|
$limit = PAGE_LIMIT * $page;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user