Fixed issue #10798: Flag sectionIndex is not used for "menu of subpages + sections"
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / class.tslib_menu.php
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);