Fixed bug #9864: 9890: sectionIndex in Menu doesn't work
authorSteffen Kamper <info@sk-typo3.de>
Mon, 8 Dec 2008 21:29:00 +0000 (21:29 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 8 Dec 2008 21:29:00 +0000 (21:29 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@4536 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_menu.php

index 453c8a5..a4d7370 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-12-08  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug #9864: 9890: sectionIndex in Menu doesn't work
 
 2008-12-03  Martin Kutschker  <masi@typo3.org>
 
index e9a3b7c..ef5fa81 100755 (executable)
@@ -1581,6 +1581,11 @@ class tslib_menu {
                if ($oTarget) {
                        $conf['target'] = $oTarget;
                }
+               
+               if ($page['sectionIndex_uid']) {
+                       $conf['section'] = $page['sectionIndex_uid'];
+               }
+               
                $this->parent_cObj->typoLink('|', $conf);
                $LD = $this->parent_cObj->lastTypoLinkLD;
                $LD['totalURL'] = $this->parent_cObj->lastTypoLinkUrl;