Fixed bug #10183: [felogin] redirect doesn't work with return_url
authorSteffen Kamper <info@sk-typo3.de>
Mon, 19 Jan 2009 08:59:44 +0000 (08:59 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 19 Jan 2009 08:59:44 +0000 (08:59 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@4749 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php

index 26882dd..25e39ac 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
+2009-01-19  Steffen Kamper  <info@sk-typo3.de>
+
+       *  Fixed bug #10183: [felogin] redirect doesn't work with return_url
+
 2009-01-18  Francois Suter  <francois@typo3.org>
 
-        * Cleanup #10125: Replace deprecated function calls in sysext indexed_search
+       * Cleanup #10125: Replace deprecated function calls in sysext indexed_search
 
 2009-01-17  Oliver Hader  <oliver@typo3.org>
 
index 0515231..9afa1f1 100644 (file)
@@ -83,6 +83,10 @@ class tx_felogin_pi1 extends tslib_pibase {
                $this->logintype = t3lib_div::_GP('logintype');
                $this->redirectUrl = t3lib_div::_GP('redirect_url');
 
+               $returnUrl =  t3lib_div::_GP('return_url');  
+               if ($returnUrl) {
+                       $this->redirectUrl = $returnUrl;         
+               }
 
 
                        // Get Template