diff --git a/Classes/Encoder/UrlEncoder.php b/Classes/Encoder/UrlEncoder.php index fa0e7fab..8fb38c6f 100644 --- a/Classes/Encoder/UrlEncoder.php +++ b/Classes/Encoder/UrlEncoder.php @@ -687,7 +687,7 @@ protected function resolveShortcut($pageId) { if ((int)$page['doktype'] === PageRepository::DOKTYPE_SHORTCUT) { try{ $page = $this->tsfe->getPageShortcut($page['shortcut'], $page['shortcut_mode'], $pageId); - $pageId = $page['id']; + $pageId = $page['uid']; } catch (\RuntimeException $ex) { if ($ex->getCode() === 1294587212) { $this->logger->warning('Maximum iteration of shortcuts reached on pageId #' . $pageId . '!'