mirror of
https://github.com/kvazar-network/webapp.git
synced 2025-01-24 22:04:44 +00:00
fix pagination start value
This commit is contained in:
parent
a602c62086
commit
65f88f08b4
@ -32,7 +32,11 @@ if (SEF_MODE && isset($_SERVER['QUERY_STRING'])) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$limit = PAGE_LIMIT * $page;
|
if ($page > 1) {
|
||||||
|
$limit = PAGE_LIMIT * $page - PAGE_LIMIT;
|
||||||
|
} else {
|
||||||
|
$limit = PAGE_LIMIT * $page;
|
||||||
|
}
|
||||||
|
|
||||||
$db = new MySQL();
|
$db = new MySQL();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user