Index: trunk/phase3/includes/UserMailer.php |
— | — | @@ -184,7 +184,6 @@ |
185 | 185 | $headers['Reply-To'] = $replyto->toString(); |
186 | 186 | } |
187 | 187 | |
188 | | - $headers['Subject'] = self::quotedPrintable( $subject ); |
189 | 188 | $headers['Date'] = date( 'r' ); |
190 | 189 | $headers['MIME-Version'] = '1.0'; |
191 | 190 | $headers['Content-type'] = ( is_null( $contentType ) ? |
— | — | @@ -254,10 +253,11 @@ |
255 | 254 | |
256 | 255 | $safeMode = wfIniGetBool( 'safe_mode' ); |
257 | 256 | foreach ( $dest as $recip ) { |
| 257 | + $quoted_subject = self::quotedPrintable( $subject ); |
258 | 258 | if ( $safeMode ) { |
259 | | - $sent = mail( $recip, self::quotedPrintable( $subject ), $body, $headers ); |
| 259 | + $sent = mail( $recip, $quoted_subject, $body, $headers ); |
260 | 260 | } else { |
261 | | - $sent = mail( $recip, self::quotedPrintable( $subject ), $body, $headers, $wgAdditionalMailParams ); |
| 261 | + $sent = mail( $recip, $quoted_subject, $body, $headers, $wgAdditionalMailParams ); |
262 | 262 | } |
263 | 263 | } |
264 | 264 | |