r21702 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21701‎ | r21702 | r21703 >
Date:17:17, 29 April 2007
Author:daniel
Status:old
Tags:
Comment:
fixed cc-self (mixed up To and From fields)
Modified paths:
  • /trunk/extensions/ContactPage/SpecialContact.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ContactPage/SpecialContact.php
@@ -225,7 +225,7 @@
226226 $cc_subject = wfMsg('emailccsubject', $this->target->getName(), $subject);
227227 if( wfRunHooks( 'ContactForm', array( &$from, &$replyto, &$cc_subject, &$this->text ) ) ) {
228228 wfDebug( "$fname: sending cc mail from ".$from->toString()." to ".$replyto->toString()."\n" );
229 - $ccResult = userMailer( $from, $replyto, $cc_subject, $this->text );
 229+ $ccResult = userMailer( $replyto, $from, $cc_subject, $this->text );
230230 if( WikiError::isError( $ccResult ) ) {
231231 // At this stage, the user's CC mail has failed, but their
232232 // original mail has succeeded. It's unlikely, but still, what to do?