diff --git a/src/Support/helpers.php b/src/Support/helpers.php index c21d9392..bd469edd 100644 --- a/src/Support/helpers.php +++ b/src/Support/helpers.php @@ -1218,7 +1218,7 @@ if (! function_exists('extractItemsFromGetAttribute')) { int $totalEntries ): array { $uri = request()->fullUrl(); - $perPage = config('vuefilemanager.paginate.perPage'); + $perPage = intval(config('vuefilemanager.paginate.perPage')); $lastPage = ceil($totalEntries / $perPage); $currentPage = request()->input('page') === 'all' ? 1