Merge "Don't use isset() to check whether an existing variable is null"
This commit is contained in:
commit
b7c06ae61d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue