Fixed issue #10798: Flag sectionIndex is not used for "menu of subpages + sections"
authorFrancois Suter <francois.suter@typo3.org>
Fri, 27 Mar 2009 14:35:48 +0000 (14:35 +0000)
committerFrancois Suter <francois.suter@typo3.org>
Fri, 27 Mar 2009 14:35:48 +0000 (14:35 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@5238 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index 11280fa..e098c8b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-27  Francois Suter  <francois@typo3.org>
+
+       * Fixed issue #10798: Flag sectionIndex is not used for "menu of subpages + sections" (thanks to Xaviers Perseguers)
+
 2009-03-26  Patrick Broens  <patrick@patrickbroens.nl>
 
        * Fixed bug #10768: Small rendering/css bug on FE with Text     with image
index ef5fa81..0638acc 100755 (executable)
@@ -799,7 +799,7 @@ class tslib_menu {
                                                unset($selectSetup['andWhere']);
                                        break;
                                        case 'header':
-                                               $selectSetup['andWhere']='header_layout!=100 AND header!=""';
+                                               $selectSetup['andWhere'] .= ' AND header_layout!=100 AND header!=""';
                                        break;
                                }
                                $basePageRow=$this->sys_page->getPage($this->id);