diff options
author | thomascube <thomas@roundcube.net> | 2009-03-26 07:55:32 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-03-26 07:55:32 +0000 |
commit | 0b21c888ac86df51ef91f4dd8586c546b08c37dc (patch) | |
tree | 59c0c2c377db2a45a3f2ccfb2825fd2bd1ac6248 | |
parent | 082d166e765bac3b4f1269405914527b3e8227b1 (diff) |
Select drafts mailbox when opening a draft message
-rw-r--r-- | program/steps/mail/compose.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 1b83b1ed4..356b3d943 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -70,8 +70,10 @@ if ($msg_uid = $_SESSION['compose']['param']['_reply_uid']) $compose_mode = RCUBE_COMPOSE_REPLY; else if ($msg_uid = $_SESSION['compose']['param']['_forward_uid']) $compose_mode = RCUBE_COMPOSE_FORWARD; -else if ($msg_uid = $_SESSION['compose']['param']['_draft_uid']) +else if ($msg_uid = $_SESSION['compose']['param']['_draft_uid']) { + $RCMAIl->imap->set_mailbox($CONFIG['drafts_mbox']); $compose_mode = RCUBE_COMPOSE_DRAFT; +} if (!empty($msg_uid)) { |