Fixed bug #17452: options.hideRecords.pages is irgnored in page tree
[Packages/TYPO3.CMS.git] / t3lib / tree / pagetree / class.t3lib_tree_pagetree_dataprovider.php
index 64a9b8d..b88f4c7 100644 (file)
@@ -269,6 +269,10 @@ class t3lib_tree_pagetree_DataProvider extends t3lib_tree_AbstractDataProvider {
                                $subNode->setLabelIsEditable(FALSE);
                                $subNode->setType('pages_root');
                        } else {
+                               if (in_array($mountPoint, $this->hiddenRecords)) {
+                                       continue;
+                               }
+
                                $record = t3lib_BEfunc::getRecordWSOL('pages', $mountPoint, '*', '', TRUE);
                                if (!$record) {
                                        continue;