summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-11-04 19:15:57 +0000
committeralecpl <alec@alec.pl>2010-11-04 19:15:57 +0000
commit93681d1e5e473359337b7a41046eb97e5644a218 (patch)
treec369166ae8a3419e9ec1ff3639806ac535822ac7 /program/steps
parentac2c95302129e9692558632b03a1a6342fbd99b7 (diff)
- Fix extra line added to the message body when using php mail function (#1487060)
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/func.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 1237c9214..a4f945fea 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1540,6 +1540,7 @@ function rcmail_deliver_message(&$message, $from, $mailto, &$smtp_error, &$body_
$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);