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

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

index d945515..e7f95be 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-27  Patrick Broens  <patrick@patrickbroens.nl>
 
        * Fixed bug #10777: Make versioning module icon skinnable
index f71c580..feb03a1 100644 (file)
@@ -810,7 +810,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);