Fixed bug #17715: Wrong variable name used in recycler (Thanks to Peter Beernink)
authorsteffenk <steffenk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 22:02:54 +0000 (22:02 +0000)
committersteffenk <steffenk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 22:02:54 +0000 (22:02 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-5@10550 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/recycler/classes/view/class.tx_recycler_view_deletedRecords.php

index 0be2039..e5fec8d 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,7 @@
 
 2011-02-22  Steffen Kamper  <steffen@typo3.org>
 
+       * Fixed bug #17715: Wrong variable name used in recycler (Thanks to Peter Beernink)
        * Fixed bug 17412: PHP Warning in class.t3lib_matchcondition_abstract.php (Thanks to Sven J├╝rgens)
        * Fixed bug #17672: CSH - each label fires one request
        * Follow-up to #17383: Open forms cannot be saved after "Relogin" (Security Token errors)
index 51a545c..7ebee04 100644 (file)
@@ -55,14 +55,14 @@ class tx_recycler_view_deletedRecords {
                                $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'])