File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ class Module extends FormToolsModule
1818 protected $ author = "Ben Keen " ;
1919 protected $ authorEmail = "ben.keen@gmail.com " ;
2020 protected $ authorLink = "https://formtools.org " ;
21- protected $ version = "2.0.4 " ;
22- protected $ date = "2018-02-05 " ;
21+ protected $ version = "2.0.5 " ;
22+ protected $ date = "2018-03-18 " ;
2323 protected $ originLanguage = "en_us " ;
2424
2525 protected $ nav = array (
@@ -310,9 +310,9 @@ public function sendEmail($email_components)
310310 }
311311
312312 $ message = new Swift_Message ();
313+ $ message ->setSubject ($ email_components ["subject " ]);
313314
314315 if (!empty ($ email_components ["text_content " ]) && !empty ($ email_components ["html_content " ])) {
315- $ message ->setSubject ($ email_components ["subject " ]);
316316 $ message ->setBody ($ email_components ["text_content " ]);
317317 $ message ->addPart ($ email_components ["html_content " ], "text/html " );
318318 } else if (!empty ($ email_components ["text_content " ])) {
You can’t perform that action at this time.
0 commit comments