Merge "Only expand `{{...}}` in messages once (part 2)"
[lhc/web/wiklou.git] / includes / mail / UserMailer.php
index cdbe1c5..f348c5b 100644 (file)
@@ -431,7 +431,7 @@ class UserMailer {
                        try {
                                foreach ( $to as $recip ) {
                                        $sent = mail(
-                                               $recip,
+                                               $recip->toString(),
                                                self::quotedPrintable( $subject ),
                                                $body,
                                                $headers,