From a951522b5ee99132bdecd3cb034f636dd8e48a3e Mon Sep 17 00:00:00 2001 From: fallas Date: Wed, 31 Oct 2001 16:27:40 +0000 Subject: [PATCH] Fixed problem with lines mistakenly wrapping when resuming a draft mail. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1667 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/compose.php b/src/compose.php index 6dfe911d..d3536cac 100644 --- a/src/compose.php +++ b/src/compose.php @@ -90,7 +90,9 @@ $body_ary[$i] = '> ' . $body_ary[$i]; } } - sqWordWrap($body_ary[$i], $editor_size - 1); + if (!$draft_id) { + sqWordWrap($body_ary[$i], $editor_size - 1); + } $body .= $body_ary[$i] . "\n"; unset($body_ary[$i]); } -- 2.25.1