Skip to content

Commit

Permalink
Fix code for v13 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Jan 27, 2025
1 parent 38fb2dd commit 14fd9ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Controller/AbstractController.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ protected function eventExtendedRedirect(
'controllerName' => null,
'extensionName' => null,
'arguments' => [],
'pageUid' => $this->settings['listPid'],
'pageUid' => (int)$this->settings['listPid'],
'delay' => 0,
'statusCode' => 301,
];
Expand Down
2 changes: 1 addition & 1 deletion Classes/Controller/CalendarController.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public function pastAction(
}
$this->addCacheTags(['calendarize_past']);

$limit = (int)$this->settings['limit'] ?: $limit;
$limit = isset($this->settings['limit']) ? (int)$this->settings['limit'] : $limit;
$sort = $this->settings['sorting'] ?: $sort;
$this->checkStaticTemplateIsIncluded();
$listStartTime = (string)$this->settings['listStartTime'];
Expand Down
2 changes: 1 addition & 1 deletion Classes/Service/TcaService.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected function migrateFormEngineRow(array &$row): void
protected function getConfigurationGroupTitle(array $row): string
{
$title = '';
$groups = GeneralUtility::trimExplode(',', $row['groups'], true);
$groups = GeneralUtility::trimExplode(',', (string)$row['groups'], true);
foreach ($groups as $key => $id) {
$row = BackendUtility::getRecord('tx_calendarize_domain_model_configurationgroup', $id);
if (!empty($row)) {
Expand Down

0 comments on commit 14fd9ed

Please sign in to comment.