Project

General

Profile

Bug #25138 ยป 17715.diff

Administrator Admin, 2011-02-22 21:44

View differences:

typo3/sysext/recycler/classes/view/class.tx_recycler_view_deletedRecords.php (working copy)
$total += count($deletedRowsArray[$table]);
foreach($rows as $row) {
$feuser = t3lib_BEfunc::getRecord('be_users', $row[$GLOBALS['TCA'][$table]['ctrl']['cruser_id']], 'username', '', false);
$backendUser = t3lib_BEfunc::getRecord('be_users', $row[$GLOBALS['TCA'][$table]['ctrl']['cruser_id']], 'username', '', FALSE);
$jsonArray['rows'][] = array(
'uid' => $row['uid'],
'pid' => $row['pid'],
'table' => $table,
'crdate' => date($GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'] . ' ' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm'], $row[$GLOBALS['TCA'][$table]['ctrl']['crdate']]),
'tstamp' => date($GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'] . ' ' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm'], $row[$GLOBALS['TCA'][$table]['ctrl']['tstamp']]),
'owner' => $feuser['username'],
'owner' => $backendUser['username'],
'owner_uid' => $row[$GLOBALS['TCA'][$table]['ctrl']['cruser_id']],
'tableTitle' => tx_recycler_helper::getUtf8String(
$GLOBALS['LANG']->sL($GLOBALS['TCA'][$table]['ctrl']['title'])
    (1-1/1)