--- t3lib/class.t3lib_browsetree.old 2010-08-06 13:24:45.000000000 +0200 +++ t3lib/class.t3lib_browsetree.php 2010-08-10 12:12:37.000000000 +0200 @@ -160,7 +160,7 @@ $title = parent::getTitleStr($row,$titleLen); if (isset($row['is_siteroot']) && $row['is_siteroot'] != 0 && $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.showDomainNameWithTitle')) { $rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('domainName,sorting', 'sys_domain', - 'pid=' . $GLOBALS['TYPO3_DB']->quoteStr($row['uid'], 'sys_domain'), '', 'sorting', 1); + 'pid=' . $GLOBALS['TYPO3_DB']->quoteStr($row['uid'] . t3lib_BEfunc::BEenableFields('sys_domain'), 'sys_domain'), '', 'sorting', 1); if (is_array($rows) && count($rows) > 0) { $title = sprintf('%s [%s]', $title, htmlspecialchars($rows[0]['domainName'])); }