Fixed bug #10617: Collapse in list module doesn't process returnPath
authorSteffen Kamper <info@sk-typo3.de>
Sat, 13 Jun 2009 10:11:23 +0000 (10:11 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sat, 13 Jun 2009 10:11:23 +0000 (10:11 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5586 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.db_list.inc

index b42ef38..8dd35b6 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-06-13  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #10617: Collapse in list module doesn't process returnPath
        * Fixed bug #8875: typo3 logo in backend on top left looks not perfect because it has white background on gradient background (thanks to Johannes Feustel)
 
 2009-06-12  Steffen Kamper  <info@sk-typo3.de>
index c7dcce7..23cf818 100644 (file)
@@ -210,6 +210,10 @@ class recordList extends t3lib_recordList {
                        // Save modified user uc
                        $GLOBALS['BE_USER']->uc['moduleData']['db_list.php'] = $this->tablesCollapsed;
                        $GLOBALS['BE_USER']->writeUC($GLOBALS['BE_USER']->uc);
+                       if (t3lib_div::_GP('returnUrl')) {
+                               $location = t3lib_div::_GP('returnUrl');
+                               t3lib_div::redirect($location);
+                       }
                }
 
                if ($sL>0)      {