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

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

index 2b1482b..ca03670 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 38d0475..32fdf43 100755 (executable)
@@ -1587,6 +1587,10 @@ 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;
@@ -2912,4 +2916,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['tslib/class
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['tslib/class.tslib_menu.php']);
 }
 
-?>
\ No newline at end of file
+?>