From 66bc1dd51a6cfb28d445160b8fe9e689b326fe45 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Mon, 8 Feb 2021 11:10:57 +0100 Subject: [PATCH] Stuff --- app/Http/Controllers/PublicController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/PublicController.php b/app/Http/Controllers/PublicController.php index 880ada1..e30c390 100644 --- a/app/Http/Controllers/PublicController.php +++ b/app/Http/Controllers/PublicController.php @@ -55,7 +55,7 @@ class PublicController extends BaseController return response()->json(["pagination" => [ "total" => $g->count(), - "items_per_page" => $limit, + "items_per_page" => (int)$limit, "pages" => (int)($g->count() / $limit), "preview" => $preview, "next" => $next],