From: Antoine Musso Date: Sun, 15 Aug 2004 23:48:39 +0000 (+0000) Subject: Fix sourceforge bug #811928: X-Git-Tag: 1.5.0alpha1~2320 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=2dcf678a365c7bf034b85308ba10476dbdc04a2d;p=lhc%2Fweb%2Fwiklou.git Fix sourceforge bug #811928: Removed several occurences of "\r" which break headers in Outlook at least. Tested ok on mozilla-thunderbird and The-Bat --- diff --git a/includes/UserMailer.php b/includes/UserMailer.php index abf6c4acf1..5921962031 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -44,10 +44,10 @@ function userMailer( $to, $from, $subject, $body ) else { $headers = - "MIME-Version: 1.0\r\n" . - "Content-type: text/plain; charset={$wgOutputEncoding}\r\n" . - "Content-transfer-encoding: 8bit\r\n" . - "From: {$from}\r\n" . + "MIME-Version: 1.0\n" . + "Content-type: text/plain; charset={$wgOutputEncoding}\n" . + "Content-transfer-encoding: 8bit\n" . + "From: {$from}\n" . "X-Mailer: MediaWiki interuser e-mailer"; $wgErrorString = "";