From 9ddf3a898b7e6156f131e78bffba7663ba355a7e Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 10 Nov 2012 17:12:45 +0100 Subject: [PATCH] Follow-up Ib2b8dfb8 (803abc7): fix a typo in a variable name $mRetypePass should exist, the correct name is $mRetype. Change-Id: I0bd65951f42a244a8810087f900b4a3c82358405 --- includes/specials/SpecialChangePassword.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialChangePassword.php b/includes/specials/SpecialChangePassword.php index 959cd822e0..54a277183b 100644 --- a/includes/specials/SpecialChangePassword.php +++ b/includes/specials/SpecialChangePassword.php @@ -28,7 +28,7 @@ */ class SpecialChangePassword extends UnlistedSpecialPage { - protected $mUserName, $mOldpass, $mNewpass, $mRetype, $mDomain, $mRetypePass; + protected $mUserName, $mOldpass, $mNewpass, $mRetype, $mDomain; public function __construct() { parent::__construct( 'ChangePassword' ); @@ -244,7 +244,7 @@ class SpecialChangePassword extends UnlistedSpecialPage { try { $user->setPassword( $this->mNewpass ); wfRunHooks( 'PrefsPasswordAudit', array( $user, $newpass, 'success' ) ); - $this->mNewpass = $this->mOldpass = $this->mRetypePass = ''; + $this->mNewpass = $this->mOldpass = $this->mRetype = ''; } catch( PasswordError $e ) { wfRunHooks( 'PrefsPasswordAudit', array( $user, $newpass, 'error' ) ); throw new PasswordError( $e->getMessage() ); -- 2.20.1