This commit is contained in:
Kekskurse 2021-02-08 01:39:29 +01:00
parent 4e10e787da
commit 926259a3de

View file

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