If a page is configured to show content from another pid the menu
of type sectionIndex has to fetch the content elements from the
referenced page instead of the page itself.
Thanks to Christian Finkemeyer for the patch.
Resolves: #46448
Releases: master, 6.2
Change-Id: Ia903cdc085dd665f89df5c90dad962cbc9f09535
(cherry picked from commit 969f75063a5d63c3b7f4aae1c2e52f25ecba7e5d)
Reviewed-on: http://review.typo3.org/39381
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>