From: Steve Sutton Date: Fri, 27 Feb 2015 16:33:42 +0000 (-0500) Subject: remove header that's empty X-Git-Tag: v1.0.0^2~60 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=51576005a9312279e7a7fcf894e7797bc1c11570;p=web%2FGaylordGolfMecca.git remove header that's empty --- diff --git a/Toolkit/Contacts/ContactUs.php b/Toolkit/Contacts/ContactUs.php index 04fd2a3..996ca4a 100755 --- a/Toolkit/Contacts/ContactUs.php +++ b/Toolkit/Contacts/ContactUs.php @@ -894,8 +894,6 @@ class Toolkit_Contacts_ContactUs $template = new HTML_Template_Flexy($this->flexyOptions); $page = new stdClass(); // for comments textarea need to replace newlines with br - $this->formData['comments']['element'] - = nl2br($this->getSubmitValue('comments')); $userEmail = $this->getSubmitValue('email'); $page->email_from = OWNER_EMAIL; @@ -917,7 +915,6 @@ class Toolkit_Contacts_ContactUs $mail =& Mail::factory($mailFactory); $body = $mimeMail->get(); - $headers = $mimeMail->headers($setHeader); $res = $mail->send($this->email, $headers, $body); if (PEAR::isError($res)) {