JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
no need to call this_host() again
authorJason Woofenden <jason@jasonwoof.com>
Fri, 8 Aug 2014 17:43:48 +0000 (13:43 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Fri, 8 Aug 2014 17:43:48 +0000 (13:43 -0400)
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 = '';