MediaWiki r21702 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r21701‎ | r21702 (on ViewVC)‎ | r21703 >
Date:17:17, 29 April 2007
Author:daniel
Status:old
Tags:
Comment:
fixed cc-self (mixed up To and From fields)
Modified paths:

Diff [purge]

Index: trunk/extensions/ContactPage/SpecialContact.php
===================================================================
--- trunk/extensions/ContactPage/SpecialContact.php	(revision 21701)
+++ trunk/extensions/ContactPage/SpecialContact.php	(revision 21702)
@@ -225,7 +225,7 @@
 					$cc_subject = wfMsg('emailccsubject', $this->target->getName(), $subject);
 					if( wfRunHooks( 'ContactForm', array( &$from, &$replyto, &$cc_subject, &$this->text ) ) ) {
 						wfDebug( "$fname: sending cc mail from ".$from->toString()." to ".$replyto->toString()."\n" );
-						$ccResult = userMailer( $from, $replyto, $cc_subject, $this->text );
+						$ccResult = userMailer( $replyto, $from, $cc_subject, $this->text );
 						if( WikiError::isError( $ccResult ) ) {
 							// At this stage, the user's CC mail has failed, but their 
 							// original mail has succeeded. It's unlikely, but still, what to do?
Personal tools
Namespaces
Variants
Views
Actions
Site
Support
Download
Development
Communication
Toolbox