We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 21adcb2 + 63fb034 commit fcebcc1Copy full SHA for fcebcc1
Classes/Controller/Backend/Order/OrderController.php
@@ -69,7 +69,7 @@ public function listAction(int $currentPage = 1): ResponseInterface
69
$this->moduleTemplate->assign('settings', $this->settings);
70
$this->moduleTemplate->assign('searchArguments', $this->searchArguments);
71
72
- $itemsPerPage = is_numeric($this->settings['itemsPerPage']) ? (int)$this->settings['itemsPerPage'] : 20;
+ $itemsPerPage = (int)($this->settings['itemsPerPage'] ?? 20);
73
74
$orderItems = $this->itemRepository->findAll($this->searchArguments);
75
$arrayPaginator = new QueryResultPaginator(
0 commit comments