summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/sendmail.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-15 13:34:04 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-15 13:34:04 +0000
commit9938c39da8561fc15d7e65fe525093258e997939 (patch)
tree8af82b54bbe52bfc587b5f81ea815a08d5946057 /roundcubemail/program/steps/mail/sendmail.inc
parenta5e39d3f44dec5686b1e9035dca18ed52cee3105 (diff)
- Fix Answered/Forwarded flag setting for messages from subfolders
git-svn-id: https://svn.roundcube.net/trunk@2487 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/sendmail.inc')
-rw-r--r--roundcubemail/program/steps/mail/sendmail.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc
index 742322602..4ebf4893c 100644
--- a/roundcubemail/program/steps/mail/sendmail.inc
+++ b/roundcubemail/program/steps/mail/sendmail.inc
@@ -432,9 +432,9 @@ if (!$savedraft)
// set replied/forwarded flag
if ($_SESSION['compose']['reply_uid'])
- $IMAP->set_flag($_SESSION['compose']['reply_uid'], 'ANSWERED');
+ $IMAP->set_flag($_SESSION['compose']['reply_uid'], 'ANSWERED', $_SESSION['compose']['mailbox']);
else if ($_SESSION['compose']['forward_uid'])
- $IMAP->set_flag($_SESSION['compose']['forward_uid'], 'FORWARDED');
+ $IMAP->set_flag($_SESSION['compose']['forward_uid'], 'FORWARDED', $_SESSION['compose']['mailbox']);
} // End of SMTP Delivery Block