Fixed problem with lines mistakenly wrapping when resuming a draft mail.
authorfallas <fallas@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Oct 2001 16:27:40 +0000 (16:27 +0000)
committerfallas <fallas@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Oct 2001 16:27:40 +0000 (16:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1667 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index 6dfe911..d3536ca 100644 (file)
@@ -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]);
          }