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:03:19 +0000 (22:03 +0000)
committersteffenk <steffenk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 22:03:19 +0000 (22:03 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10551 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index c67fd46..9b92d9e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,7 +24,8 @@
 
 2011-02-22  Steffen Kamper  <steffen@typo3.org>
 
-       * Fixed bug 17412: PHP Warning in class.t3lib_matchcondition_abstract.php (Thanks to Sven Jürgens)
+       * 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)
        * Fixed bug #17699: ExtDirect API use relative url for ajax.php
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'])