Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2555
CVS-HEAD.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:01 PM
2014-11-21 21:01:00 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
CVS-HEAD.diff
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2131
Default Alt Text
CVS-HEAD.diff (1 KB)
Attached To
Mode
T6347: UserMailer: replyto problem: use the string for mailing, not the (MailAddress) object
Attached
Detach File
Event Timeline
Log In to Comment