Fixed bug #17452: options.hideRecords.pages is irgnored in page tree
authorsgalinsk <sgalinsk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 22:38:03 +0000 (22:38 +0000)
committersgalinsk <sgalinsk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 22:38:03 +0000 (22:38 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10561 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/tree/pagetree/class.t3lib_tree_pagetree_dataprovider.php

index 130de0f..d487288 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
 
        * Fixed bug #17483: GifBuilder - meaningfulTempFilePrefix can cause invalid image urls
        * Fixed bug #17531: htmlMail - Can't send mails on port based systems with Swiftmailer substitution
+       * Fixed bug #17452: options.hideRecords.pages is irgnored in page tree 
 
 2011-02-22  Christian Kuhn  <lolli@schwarzbu.ch>
 
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;