alecpl
2008-10-27 09fc3f3087cad8296e60c24e0b8e159374c20ec4
-fix: mark as read (for read_when_deleted) only when moving messages to trash


1 files modified
2 ■■■ changed files
program/steps/mail/move_del.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/move_del.inc
@@ -30,7 +30,7 @@
    $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);