mirror of
https://github.com/werkraum-media/events.git
synced 2025-03-27 00:03:47 +01:00
Fix type mismatch when using TypoScript settings
This commit is contained in:
parent
9743948cb5
commit
56d922cb3a
2 changed files with 4 additions and 3 deletions
|
@ -63,8 +63,8 @@ final class DateController extends AbstractController
|
|||
$dates,
|
||||
$this->paginationFactory->create(
|
||||
$currentPage,
|
||||
$this->settings['itemsPerPage'] ?? 25,
|
||||
$this->settings['maximumLinks'] ?? 5,
|
||||
(int)($this->settings['itemsPerPage'] ?? 25),
|
||||
(int)($this->settings['maximumLinks'] ?? 5),
|
||||
$dates
|
||||
)
|
||||
));
|
||||
|
|
|
@ -41,7 +41,8 @@ Features
|
|||
Fixes
|
||||
-----
|
||||
|
||||
Nothing
|
||||
* Ensure pagination settings are provided in expected type (int).
|
||||
TypoScript settings will always be strings, so we fix this with a proper type cast.
|
||||
|
||||
Tasks
|
||||
-----
|
||||
|
|
Loading…
Add table
Reference in a new issue