From: fallas Date: Wed, 31 Oct 2001 16:27:40 +0000 (+0000) Subject: Fixed problem with lines mistakenly wrapping when resuming a draft mail. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=a951522b5ee99132bdecd3cb034f636dd8e48a3e 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 --- 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]); }