Fixed bug #14224: Redirect URL for backend login is lost when entering wrong informat...
authorsteffenk <steffenk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 22:52:34 +0000 (22:52 +0000)
committersteffenk <steffenk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 22:52:34 +0000 (22:52 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10568 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/index.php

index 189a23c..c6695fb 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -35,6 +35,7 @@
 
 2011-02-22  Steffen Kamper  <steffen@typo3.org>
 
+       * Fixed bug #14224: Redirect URL for backend login is lost when entering wrong information (Thanks to Reinhard Führicht)
        * Fixed bug #17708 wrong link in adminpanel: edit page properties (Thanks to Bjoern Pedersen)
        * 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)
index 39fdc11..b1d7e16 100644 (file)
@@ -461,8 +461,8 @@ class SC_index {
                                                <select id="t3-interfaceselector" name="interface" class="c-interfaceselector" tabindex="3" onchange="window.location.href=this.options[this.selectedIndex].value;">'.$this->interfaceSelector_jump.'
                                                </select>';
 
-                       } else {        // If there is only ONE interface value set:
-
+                       } elseif (!$this->redirect_url) {
+                                       // If there is only ONE interface value set and no redirect_url is present:
                                $this->interfaceSelector_hidden='<input type="hidden" name="interface" value="'.trim($TYPO3_CONF_VARS['BE']['interfaces']).'" />';
                        }
                }