Fixed bug #9312: felogin: uninitialized vars (Thanks to Steffen Kamper)
authorBenni Mack <benni.mack@typo3.org>
Mon, 8 Sep 2008 19:03:30 +0000 (19:03 +0000)
committerBenni Mack <benni.mack@typo3.org>
Mon, 8 Sep 2008 19:03:30 +0000 (19:03 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4083 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index 71f6118..9fe72c8 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2008-09-08  Benjamin Mack  <benni@typo3.org>
 
+       * Fixed bug #9312: felogin: uninitialized vars (Thanks to Steffen Kamper)
        * Fixed bug #9282: Allow subkeys for TypoScript "config." array
 
 2008-09-08  Stanislas Rolland  <typo3@sjbr.ca>
index e27d714..1f8a4f2 100644 (file)
@@ -136,6 +136,8 @@ class tx_felogin_pi1 extends tslib_pibase {
          */
         protected function showForgot() {
                $subpart = $this->cObj->getSubpart($this->template, '###TEMPLATE_FORGOT###');
+               $subpartArray = $linkpartArray = array();
+
                if ($this->piVars['forgot_email']) {
                        if (t3lib_div::validEmail($this->piVars['forgot_email'])) {
                                        // look for user record and send the password
@@ -199,6 +201,7 @@ class tx_felogin_pi1 extends tslib_pibase {
         */
        protected function showLogout() {
                $subpart = $this->cObj->getSubpart($this->template, '###TEMPLATE_LOGOUT###');
+               $subpartArray = $linkpartArray = array();
 
                $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('status_header',$this->conf['logoutHeader_stdWrap.']);
                $markerArray['###STATUS_MESSAGE###']=$this->getDisplayText('status_message',$this->conf['logoutMessage_stdWrap.']);$this->cObj->stdWrap($this->flexFormValue('message','s_status'),$this->conf['logoutMessage_stdWrap.']);
@@ -226,6 +229,7 @@ class tx_felogin_pi1 extends tslib_pibase {
         */
         protected function showLogin() {
                $subpart = $this->cObj->getSubpart($this->template, '###TEMPLATE_LOGIN###');
+               $subpartArray = $linkpartArray = array();
 
                $markerArray['###LEGEND###'] = $this->pi_getLL('oLabel_header_welcome', '', 1);