mirror of
https://github.com/kvazar-network/webapp.git
synced 2025-01-10 15:18:02 +00:00
commit
d22bc1a539
@ -32,7 +32,11 @@ if (SEF_MODE && isset($_SERVER['QUERY_STRING'])) {
|
||||
}
|
||||
}
|
||||
|
||||
$limit = PAGE_LIMIT * $page;
|
||||
if ($page > 0) {
|
||||
$limit = PAGE_LIMIT * $page - PAGE_LIMIT;
|
||||
} else {
|
||||
$limit = PAGE_LIMIT * $page;
|
||||
}
|
||||
|
||||
$db = new MySQL();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user