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