Project

General

Profile

Bug #67309 » patch-record-creator.diff

Leslaw Pazdzior, 2015-06-05 12:34

View differences:

typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php
// show the backend username who created the issue
if ($name === 'cruser_id' && $rowValue) {
$userTemp = $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow('username, realName', 'be_users', 'uid = ' . (int)$rowValue);
if ($userTemp[0]['username'] !== '') {
$rowValue = $userTemp[0]['username'];
if ($userTemp[0]['realName'] !== '') {
$rowValue .= ' - ' . $userTemp[0]['realName'];
if ($userTemp['username'] !== '') {
$rowValue = $userTemp['username'];
if ($userTemp['realName'] !== '') {
$rowValue .= ' - ' . $userTemp['realName'];
}
}
}
(2-2/2)