Index: trunk/extensions/ContactPage/SpecialContact.php |
— | — | @@ -225,7 +225,7 @@ |
226 | 226 | $cc_subject = wfMsg('emailccsubject', $this->target->getName(), $subject); |
227 | 227 | if( wfRunHooks( 'ContactForm', array( &$from, &$replyto, &$cc_subject, &$this->text ) ) ) { |
228 | 228 | 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 ); |
230 | 230 | if( WikiError::isError( $ccResult ) ) { |
231 | 231 | // At this stage, the user's CC mail has failed, but their |
232 | 232 | // original mail has succeeded. It's unlikely, but still, what to do? |