diff --git a/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php b/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php index 76458b1dd29b976546d0c718165e78712ecc7415..1c5b7fefbdca3d6ddd61e9ad40a8a4e9f276db27 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php +++ b/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php @@ -399,7 +399,7 @@ abstract class AbstractMenuContentObject $c_b++; // If the beginning item has been reached. if ($begin <= $c_b) { - $this->menuArr[$c] = $data; + $this->menuArr[$c] = $this->determineOriginalShortcutPage($data); $this->menuArr[$c]['isSpacer'] = $isSpacerPage; $c++; if ($maxItems && $c >= $maxItems) { @@ -1340,7 +1340,7 @@ abstract class AbstractMenuContentObject // Override url if current page is a shortcut $shortcut = null; if ((int)$this->menuArr[$key]['doktype'] === PageRepository::DOKTYPE_SHORTCUT && (int)$this->menuArr[$key]['shortcut_mode'] !== PageRepository::SHORTCUT_MODE_RANDOM_SUBPAGE) { - $menuItem = $this->determineOriginalShortcutPage($this->menuArr[$key]); + $menuItem = $this->menuArr[$key]; try { $shortcut = $tsfe->sys_page->getPageShortcut( $menuItem['shortcut'],