From: pdontthink Date: Sun, 5 Apr 2009 04:31:17 +0000 (+0000) Subject: Include subs too X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1f78253f071eafbaeb423bd0c5918287dc894a53;p=squirrelmail.git Include subs too git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13518 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/read_body.php b/src/read_body.php index 10657bba..d83e6be1 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -628,7 +628,7 @@ function formatMenubar($aMailbox, $passed_id, $passed_ent_id, $message, // If Draft folder - create Resume link $resume_draft = $edit_as_new = false; - if (($mailbox == $draft_folder) && ($save_as_draft)) { + if (isDraftMailbox($mailbox) && ($save_as_draft)) { $resume_draft = true; } else if (handleAsSent($mailbox)) { $edit_as_new = true;