JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
no need to call this_host() again
[wfpl-cms.git] / contact.php
index 86fccb9..743a953 100644 (file)
@@ -58,7 +58,7 @@ function contact_main_form($id = false) {
                                $email_template = new tem();
                                $email_template->load('contact.email.txt');
                                $email_template->sets($data);
-                               $email_template->set('$host', this_host());
+                               $email_template->set('$host', $host);
                                $message = $email_template->run();
                                $cc = '';
                                $bcc = '';