From 0fe622fddabb599b799d8fa7d65d8f423e11a3bd Mon Sep 17 00:00:00 2001 From: fallas Date: Thu, 1 Nov 2001 10:15:22 +0000 Subject: [PATCH] Now doesn't create new email when adding an attachment to a resumed draft and saving it again. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1674 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/compose.php b/src/compose.php index d3536cac..d984f9e3 100644 --- a/src/compose.php +++ b/src/compose.php @@ -208,7 +208,7 @@ $editor_size, $attachments, $subject, $newmail, $use_javascript_addr_book, $send_to_bcc, $reply_id, $mailbox, $from_htmladdr_search, $location_of_buttons, $attachment_dir, - $username, $data_dir, $identity, $draft_id; + $username, $data_dir, $identity, $draft_id, $delete_draft; $subject = decodeHeader($subject); $reply_subj = decodeHeader($reply_subj); @@ -232,6 +232,9 @@ if (isset($draft_id)) { echo "\n"; } + if (isset($delete_draft)) { + echo "\n"; + } echo "\n"; -- 2.25.1