Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
[BUGFIX] Fix missing id after shortcut resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
the-coding-owl committed Oct 12, 2017
1 parent 3aaaaef commit 43760ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Encoder/UrlEncoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 . '!'
Expand Down

0 comments on commit 43760ff

Please sign in to comment.