PHPCS fixes
authorSeamus Lee <seamuslee001@gmail.com>
Wed, 16 Sep 2015 23:45:37 +0000 (23:45 +0000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 18 Sep 2015 22:14:22 +0000 (22:14 +0000)
CRM/Utils/Mail/EmailProcessor.php

index d01ad9c5a96569e8cc1cb0c1aa5148ca8348c20b..3418185e64f703168b8bf3ce5152db5eb87b8c0c 100644 (file)
@@ -301,10 +301,10 @@ class CRM_Utils_Mail_EmailProcessor {
                       $text = $part->text;
                     }
                   }
-                  elseif ($part != null) {
+                  elseif ($part != NULL) {
                     $text = $part->text;
                   }
-                  elseif (($part = $mail->body->getReadablePart()) != null) {
+                  elseif (($part = $mail->body->getReadablePart()) != NULL) {
                     $text = $part->text;
                   }
                 }