Stuff
This commit is contained in:
parent
4e10e787da
commit
926259a3de
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class PublicController extends BaseController
|
|||
$preview = url("/".$tenant->url.".json?page=".($page-1));
|
||||
}
|
||||
|
||||
if($page >= ($g->count() / 10)) {
|
||||
if(($g->count() / 10) > $page) {
|
||||
$next = url("/".$tenant->url.".json?page=".($page+1));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue