Project

General

Profile

Bug #21372 » bug_15375.diff

Administrator Admin, 2010-08-06 13:36

View differences:

t3lib/class.t3lib_browsetree.php 2010-08-06 13:25:47.000000000 +0200
$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'] . ',hidden=0','sys_domain'), '', 'sorting', 1);
if (is_array($rows) && count($rows) > 0) {
$title = sprintf('%s [%s]', $title, htmlspecialchars($rows[0]['domainName']));
}
(1-1/3)