diff --git a/Classes/Processing/DataToPaginatedData.php b/Classes/Processing/DataToPaginatedData.php index 9e3a104..d770f1b 100644 --- a/Classes/Processing/DataToPaginatedData.php +++ b/Classes/Processing/DataToPaginatedData.php @@ -18,7 +18,7 @@ public function getPaginatedData ( $uniquePaginatorId = $cObj->stdWrapValue('uniqueId', $paginationSettings ?? []); $uniquePaginatorIdKey = $cObj->getRequest()->getQueryParams()['paginatorId'] ?? null; if($uniquePaginatorId == $uniquePaginatorIdKey) { - $currentPage = (int)$cObj->getRequest()->getQueryParams()['paginationPage'] ? : 1; + $currentPage = (int)($cObj->getRequest()->getQueryParams()['paginationPage'] ?? 1); } else { $currentPage = 1; }