summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-27 10:53:56 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-27 10:53:56 +0000
commitaf73429c01631fa4937381070b4f17dcd14d3ee7 (patch)
tree62f116d33e2c6d1bde6cd0e70d8447a41eafbf45 /roundcubemail/program
parente5050c283f5b74ca2146fea18965b1d55603189a (diff)
-fix: mark as read (for read_when_deleted) only when moving messages to trash
git-svn-id: https://svn.roundcube.net/trunk@2018 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/move_del.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/move_del.inc b/roundcubemail/program/steps/mail/move_del.inc
index 7dd4489b8..673bd800b 100644
--- a/roundcubemail/program/steps/mail/move_del.inc
+++ b/roundcubemail/program/steps/mail/move_del.inc
@@ -30,7 +30,7 @@ if ($RCMAIL->action=='moveto' && !empty($_POST['_uid']) && !empty($_POST['_targe
$mbox = get_input_value('_mbox', RCUBE_INPUT_POST);
// flag messages as read before moving them
- if ($CONFIG['read_when_deleted'])
+ if ($CONFIG['read_when_deleted'] && $target == $CONFIG['trash_mbox'])
$IMAP->set_flag($uids, 'SEEN');
$moved = $IMAP->move_message($uids, $target, $mbox);