r52640 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52639‎ | r52640 | r52641 >
Date:19:21, 1 July 2009
Author:aaron
Status:deferred
Tags:
Comment:
backport error array typecast
Modified paths:
  • /branches/REL1_15/extensions/ConfirmAccount/ConfirmAccount_body.php (modified) (history)

Diff [purge]

Index: branches/REL1_15/extensions/ConfirmAccount/ConfirmAccount_body.php
@@ -663,7 +663,7 @@
664664 $utalk->doEdit( $welcome . ' ~~~~', wfMsg('confirmaccount-wsum'), EDIT_MINOR );
665665 }
666666 # Finally, done!!!
667 - $this->showSuccess( $this->submitType, $user->getName(), $error );
 667+ $this->showSuccess( $this->submitType, $user->getName(), array($error) );
668668 } else if( $this->submitType === 'hold' ) {
669669 global $wgUser;
670670 # Make proxy user to email a message

Status & tagging log