From 51576005a9312279e7a7fcf894e7797bc1c11570 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 27 Feb 2015 11:33:42 -0500 Subject: [PATCH] remove header that's empty --- Toolkit/Contacts/ContactUs.php | 3 --- 1 file changed, 3 deletions(-) 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)) { -- 2.17.1