Merge "Don't use isset() to check whether an existing variable is null"

This commit is contained in:
jenkins-bot 2014-03-18 11:39:20 +00:00 committed by Gerrit Code Review
commit b7c06ae61d

View file

@ -275,7 +275,7 @@ class UserMailer {
$headers = $mime->headers( $headers );
}
}
if ( !isset( $mime ) ) {
if ( $mime === null ) {
// sending text only, either deliberately or as a fallback
if ( wfIsWindows() ) {
$body = str_replace( "\n", "\r\n", $body );