mirror of
https://github.com/kvazar-network/webapp.git
synced 2025-01-10 15:18:02 +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;
|
||||
} else {
|
||||
$limit = PAGE_LIMIT * $page;
|
||||
|
Loading…
Reference in New Issue
Block a user