diff --git a/Classes/Module/StatisticsController.php b/Classes/Module/StatisticsController.php index f1f6da2f..6f6d3b2b 100644 --- a/Classes/Module/StatisticsController.php +++ b/Classes/Module/StatisticsController.php @@ -171,9 +171,9 @@ public function indexAction(ModuleTemplate $view): ResponseInterface $itemsPerPage = 100; //@TODO $paginator = GeneralUtility::makeInstance( - ArrayPaginator::class, - $data['dataPageInfo'] ?? [], - $this->currentPageNumber, + ArrayPaginator::class, + $data['dataPageInfo'] ?? [], + $this->currentPageNumber, $itemsPerPage ); @@ -1653,11 +1653,11 @@ public function getLinkLabel( } - if ($this->implodedParams['showContentTitle'] == 1) { + if (isset($this->implodedParams['showContentTitle']) && $this->implodedParams['showContentTitle'] == 1) { $label = $contentTitle; } - if ($this->implodedParams['prependContentTitle'] == 1) { + if (isset($this->implodedParams['prependContentTitle']) && $this->implodedParams['prependContentTitle'] == 1) { $label = $contentTitle . ' (' . $linkedWord . ')'; }