mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 08:52:45 +00:00
Fix previous page button on first page
This commit is contained in:
parent
09765b9627
commit
982b2dec0d
@ -136,7 +136,7 @@ class Page {
|
||||
$next = $this->page + 1;
|
||||
|
||||
$pager_prev = "<div style=\"float:left; font-size:30px;\">«</div>";
|
||||
if ($this->page > 0) {
|
||||
if ($cur > 1) {
|
||||
$pager_prev = "<a href=\"$page?page=$prev\">$pager_prev</a>";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user