Fix undefined variable from I55939bb5 (eb6df43).
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Fri, 22 Jun 2012 17:32:40 +0000 (19:32 +0200)
committerAntoine Musso <hashar@free.fr>
Mon, 25 Jun 2012 13:48:44 +0000 (15:48 +0200)
Change-Id: I45c51b6b9b1901783526a548f9e7f237a6dfbf7e

includes/specials/SpecialChangeEmail.php

index bd5a443..a1c6fd2 100644 (file)
@@ -201,7 +201,7 @@ class SpecialChangeEmail extends UnlistedSpecialPage {
                if ( !$status->isGood() ) {
                        $this->getOutput()->addHTML(
                                '<p class="error">' .
-                               $this->getOutput()->parseInline( $status->getWikiText( $info ) ) .
+                               $this->getOutput()->parseInline( $status->getWikiText( 'mailerror' ) ) .
                                '</p>' );
                        return false;
                }