Merge pull request #1 from kvazar-network/master

merge master updates
This commit is contained in:
kvazar-network 2021-08-08 13:06:28 +03:00 committed by GitHub
commit d22bc1a539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();