summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-14 15:10:50 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-14 15:10:50 +0200
commitc965c8abe1aa55a70844e2c95de9bb8d8293e9eb (patch)
treec10cbdcd646062396e1a61bce74dfd148f36f18c /program/steps
parentb8dc3e0e61311fe03f21761fd7de1ca80d10c990 (diff)
parente1cfb0bc01395bc71162cdd986234f3fe009edb4 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index b2f81d73c..3d65eacb1 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1488,7 +1488,7 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null,
function rcmail_wrap_and_quote($text, $length = 72)
{
// Rebuild the message body with a maximum of $max chars, while keeping quoted message.
- $max = min(77, $length + 8);
+ $max = max(75, $length + 8);
$lines = preg_split('/\r?\n/', trim($text));
$out = '';