Completed
Push — master ( d7f1de...2e207b )
by luo
22s queued 19s
created
libs/Mail.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,6 +126,8 @@
 block discarded – undo
126 126
 
127 127
         self::mail()->msgHTML($message, APP_PATH . '/mail');
128 128
 
129
-        if (!self::mail()->send()) throw new MailException(self::mail()->ErrorInfo);
129
+        if (!self::mail()->send()) {
130
+            throw new MailException(self::mail()->ErrorInfo);
131
+        }
130 132
     }
131 133
 }
Please login to merge, or discard this patch.