Browse Source

fix pagination condition

pull/1/head
ghost 3 years ago
parent
commit
bb19092d82
  1. 2
      public/index.php

2
public/index.php

@ -32,7 +32,7 @@ if (SEF_MODE && isset($_SERVER['QUERY_STRING'])) { @@ -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…
Cancel
Save