Moved $wgQueryPages stuff out of the global scope and into a function
[lhc/web/wiklou.git] / includes / UserMailer.php
index 4c2ecba..de4457d 100644 (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 );