Include subs too
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 5 Apr 2009 04:31:17 +0000 (04:31 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 5 Apr 2009 04:31:17 +0000 (04:31 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13518 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index 10657bba59771c20ef8a68ef8295cd17a2e971ea..d83e6be1357db39c0fc663985941f33f8761c93c 100644 (file)
@@ -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;