From 43760ffbf41741d04a804f05fc8542a72295df6f Mon Sep 17 00:00:00 2001 From: Kevin Ditscheid Date: Thu, 12 Oct 2017 16:19:32 +0200 Subject: [PATCH] [BUGFIX] Fix missing id after shortcut resolving #320 --- Classes/Encoder/UrlEncoder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . '!'