From 93681d1e5e473359337b7a41046eb97e5644a218 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 04 Nov 2010 15:15:57 -0400
Subject: [PATCH] - Fix extra line added to the message body when using php mail function (#1487060)

---
 program/steps/mail/func.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 1237c92..a4f945f 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1540,6 +1540,7 @@
       $delim   = $RCMAIL->config->header_delimiter();
       $to      = $headers_enc['To'];
       $subject = $headers_enc['Subject'];
+      $header_str = rtrim($header_str);
 
       if ($delim != "\r\n") {
         $header_str = str_replace("\r\n", $delim, $header_str);

--
Gitblit v1.9.1