Index: branches/REL1_18/extensions/ConfirmAccount/RequestAccount_body.php |
— | — | @@ -379,8 +379,9 @@ |
380 | 380 | # Send confirmation, required! |
381 | 381 | $result = $this->sendConfirmationMail( $u, $token, $expires ); |
382 | 382 | if ( WikiError::isError( $result ) ) { |
| 383 | + global $wgOut; |
383 | 384 | $dbw->rollback(); // Nevermind |
384 | | - $error = wfMsg( 'mailerror', htmlspecialchars( $result->toString() ) ); |
| 385 | + $error = wfMsg( 'mailerror', $wgOut->parse( $result->getWikiText() ) ); |
385 | 386 | $this->showForm( $error ); |
386 | 387 | return false; |
387 | 388 | } |