Skip to content

Commit 14fd9ed

Browse files
committed
Fix code for v13 release
1 parent 38fb2dd commit 14fd9ed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Classes/Controller/AbstractController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ protected function eventExtendedRedirect(
219219
'controllerName' => null,
220220
'extensionName' => null,
221221
'arguments' => [],
222-
'pageUid' => $this->settings['listPid'],
222+
'pageUid' => (int)$this->settings['listPid'],
223223
'delay' => 0,
224224
'statusCode' => 301,
225225
];

Classes/Controller/CalendarController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public function pastAction(
279279
}
280280
$this->addCacheTags(['calendarize_past']);
281281

282-
$limit = (int)$this->settings['limit'] ?: $limit;
282+
$limit = isset($this->settings['limit']) ? (int)$this->settings['limit'] : $limit;
283283
$sort = $this->settings['sorting'] ?: $sort;
284284
$this->checkStaticTemplateIsIncluded();
285285
$listStartTime = (string)$this->settings['listStartTime'];

Classes/Service/TcaService.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ protected function migrateFormEngineRow(array &$row): void
106106
protected function getConfigurationGroupTitle(array $row): string
107107
{
108108
$title = '';
109-
$groups = GeneralUtility::trimExplode(',', $row['groups'], true);
109+
$groups = GeneralUtility::trimExplode(',', (string)$row['groups'], true);
110110
foreach ($groups as $key => $id) {
111111
$row = BackendUtility::getRecord('tx_calendarize_domain_model_configurationgroup', $id);
112112
if (!empty($row)) {

0 commit comments

Comments
 (0)