Don't output useless value=""
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 21 Aug 2009 21:06:28 +0000 (21:06 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 21 Aug 2009 21:06:28 +0000 (21:06 +0000)
includes/specials/SpecialResetpass.php

index e734385..f585612 100644 (file)
@@ -111,8 +111,8 @@ class SpecialResetpass extends SpecialPage {
                        $this->pretty( array(
                                array( 'wpName', 'username', 'text', $this->mUserName ),
                                array( 'wpPassword', $oldpassMsg, 'password', $this->mOldpass ),
-                               array( 'wpNewPassword', 'newpassword', 'password', '' ),
-                               array( 'wpRetype', 'retypenew', 'password', '' ),
+                               array( 'wpNewPassword', 'newpassword', 'password', null ),
+                               array( 'wpRetype', 'retypenew', 'password', null ),
                        ) ) . "\n" .
                        $rememberMe .
                        "<tr>\n" .