Fixed bug #16342: TCA tree throws Fatal error on displaying deleted records
authorSteffen Ritter <info@rs-websystems.de>
Sun, 28 Nov 2010 08:28:57 +0000 (08:28 +0000)
committerSteffen Ritter <info@rs-websystems.de>
Sun, 28 Nov 2010 08:28:57 +0000 (08:28 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9659 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/tree/tca/class.t3lib_tree_tca_databasetreedataprovider.php

index b5788ce..af34642 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-28  Steffen Ritter  <typo3@steffen-ritter.net>
+
+       * Fixed bug #16342: TCA tree throws Fatal error on displaying deleted records
+
 2010-11-26  Francois Suter  <francois@typo3.org>
 
        * Fixed bug #16573: Register count_MENUOBJ is not properly initialized
index 5849cc8..034e061 100644 (file)
@@ -229,7 +229,7 @@ class t3lib_tree_Tca_DatabaseTreeDataProvider extends t3lib_tree_Tca_AbstractTca
                        $node->setExpanded(TRUE);
                        $node->setLabel($GLOBALS['LANG']->sL($GLOBALS['TCA'][$this->tableName]['ctrl']['title']));
                } else {
-                       $row = t3lib_BEfunc::getRecordWSOL($this->tableName, $basicNode->getId(), '*');
+                       $row = t3lib_BEfunc::getRecordWSOL($this->tableName, $basicNode->getId(), '*', '', FALSE);
                        if ($this->getLabelField() !== '') {
                                $node->setLabel($row[$this->getLabelField()]);
                        } else {