diff --git a/t3lib/class.t3lib_befunc.php b/t3lib/class.t3lib_befunc.php index 2c140a3..52158e0 100644 --- a/t3lib/class.t3lib_befunc.php +++ b/t3lib/class.t3lib_befunc.php @@ -1341,6 +1341,10 @@ final class t3lib_BEfunc { $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery($fields, 'be_groups', 'pid=0 ' . $where . self::deleteClause('be_groups'), '', 'title'); while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) { $be_group_Array[$row['uid']] = $row; + if(in_array('title', t3lib_div::trimExplode(',', $fields))){ + $be_group_Array[$row['uid']]['title'] = t3lib_BEfunc::getRecordTitle('be_groups', + t3lib_BEfunc::getRecord('be_groups', $row['uid']), FALSE); + } } $GLOBALS['TYPO3_DB']->sql_free_result($res);