Page MenuHomePhabricator

CVS-HEAD.diff

Authored By
bzimport
Nov 21 2014, 9:01 PM
Size
1 KB
Referenced Files
None
Subscribers
None

CVS-HEAD.diff

Index: includes/UserMailer.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/UserMailer.php,v
retrieving revision 1.37
diff -u -b -r1.37 UserMailer.php
--- includes/UserMailer.php 12 Dec 2005 06:04:45 -0000 1.37
+++ includes/UserMailer.php 22 Dec 2005 20:02:44 -0000
@@ -87,7 +87,7 @@
$headers['From'] = $from->toString();
$headers['To'] = $dest;
if ( $replyto ) {
- $headers['Reply-To'] = $replyto;
+ $headers['Reply-To'] = $replyto->toString();
}
$headers['Subject'] = wfQuotedPrintable( $subject );
$headers['Date'] = date( 'r' );
@@ -122,7 +122,7 @@
"X-Mailer: MediaWiki mailer\n".
'From: ' . $from->toString() . "\n";
if ($replyto) {
- $headers .= "Reply-To: $replyto\n";
+ $headers .= "Reply-To: " . $replyto->toString . "\n";
}
$dest = $to->toString();
@@ -350,7 +350,7 @@
}
} else {
$from = $adminAddress;
- $replyto = $wgNoReplyAddress;
+ $replyto = new MailAddress( $wgNoReplyAddress );
}
if( $wgUser->isIP( $name ) ) {

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2131
Default Alt Text
CVS-HEAD.diff (1 KB)

Event Timeline