summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-03 17:51:54 +0000
committeralecpl <alec@alec.pl>2011-11-03 17:51:54 +0000
commit9aab5e54568f6bc4071afd3ad0c5570abd98fa5c (patch)
tree6554bd2f3989039f1ad71427d426d8f3ab48f0d9
parent6ac6be5f4fcb520381af77abc02a50ea27281a3e (diff)
- Fix redundant line break in flowed format (#1488146)
-rw-r--r--CHANGELOG1
-rw-r--r--program/steps/mail/func.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index fa4b0a582..6bc7233bf 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix redundant line break in flowed format (#1488146)
- TinyMCE:
- updated to 3.4.6
- security issue: removed moxieplayer (embedding flv and mp4 is not supported anymore)
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 69724c554..39c25f19c 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -766,7 +766,7 @@ function rcmail_plain_body($body, $flowed=false)
// previous line is flowed?
if (isset($body[$last]) && $body[$n]
- && $last != $last_sig
+ && $last !== $last_sig
&& $body[$last][strlen($body[$last])-1] == ' '
) {
$body[$last] .= $body[$n];