remove negative pages
This commit is contained in:
parent
0cc62fd6a7
commit
4734ee5d6d
1 changed files with 3 additions and 1 deletions
|
@ -53,7 +53,9 @@
|
|||
?>
|
||||
|
||||
<div>
|
||||
<?php if ($page > 0) { ?>
|
||||
<a class="form-button" href="?page=<?php echo $page - 1 ?>">Previous</a>
|
||||
<?php } ?>
|
||||
<a class="form-button" href="?page=<?php echo $page + 1 ?>">Next</a>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue