Project

General

Profile

Bug #66520 ยป 66520.patch

Marc Bastian Heinrichs, 2015-11-10 10:56

View differences:

typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php (revision c9d47173004088fb7088708c0645ff2df862bc44)
$node->setExpanded(TRUE);
$node->setLabel($GLOBALS['LANG']->sL($GLOBALS['TCA'][$this->tableName]['ctrl']['title']));
} else {
$row = \TYPO3\CMS\Backend\Utility\BackendUtility::getRecordWSOL($this->tableName, $basicNode->getId(), '*', '', FALSE);
$row = (array) \TYPO3\CMS\Backend\Utility\BackendUtility::getRecordWSOL($this->tableName, $basicNode->getId(), '*', '', FALSE);
if ($this->getLabelField() !== '') {
$node->setLabel($row[$this->getLabelField()]);
} else {
    (1-1/1)