Passed
Branch master (db83f9)
by luo
06:36 queued 04:32
created
libs/Mail.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,6 +115,8 @@
 block discarded – undo
115 115
 
116 116
         self::mail()->msgHTML($message, APP_PATH . '/mail');
117 117
 
118
-        if (!self::mail()->send()) throw new MailException(self::mail()->ErrorInfo);
118
+        if (!self::mail()->send()) {
119
+            throw new MailException(self::mail()->ErrorInfo);
120
+        }
119 121
     }
120 122
 }
121 123
\ No newline at end of file
Please login to merge, or discard this patch.