dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e420fe
)
Don't pass a MailAddress pass the email to mail()
author
Reedy
<reedy@wikimedia.org>
Sat, 20 Oct 2018 12:37:15 +0000
(13:37 +0100)
committer
Reedy
<reedy@wikimedia.org>
Sat, 20 Oct 2018 15:23:04 +0000
(15:23 +0000)
Bug: T207541
Change-Id: I1516023907e9773cb093010c6b67279f695abb1a
includes/mail/UserMailer.php
patch
|
blob
|
history
diff --git
a/includes/mail/UserMailer.php
b/includes/mail/UserMailer.php
index
5d7afd3
..
102d615
100644
(file)
--- a/
includes/mail/UserMailer.php
+++ b/
includes/mail/UserMailer.php
@@
-430,7
+430,7
@@
class UserMailer {
try {
foreach ( $to as $recip ) {
$sent = mail(
- $recip,
+ $recip
->toString()
,
self::quotedPrintable( $subject ),
$body,
$headers,