diff --git a/Classes/Service/PageService.php b/Classes/Service/PageService.php index cdfb21fed..20ea3aed9 100644 --- a/Classes/Service/PageService.php +++ b/Classes/Service/PageService.php @@ -251,7 +251,8 @@ public function shouldUseShortcutUid(array $arguments): bool */ public function getShortcutTargetPage(array $page): ?array { - if ((integer) $page['doktype'] !== PageRepository::DOKTYPE_SHORTCUT) { + $dokType = (integer) ($page['doktype'] ?? PageRepository::DOKTYPE_DEFAULT); + if ($dokType !== PageRepository::DOKTYPE_SHORTCUT) { return null; } $originalPageUid = $page['uid'];