alecpl
2010-10-29 c309cd8928af861637996f5c5490a2db0dc626dc
program/steps/mail/mark.inc
@@ -43,7 +43,7 @@
  $marked = $IMAP->set_flag($uids, $flag);
  if ($marked == -1) {
  if (!$marked) {
    // send error message
    if ($_POST['_from'] != 'show')
      $OUTPUT->command('list_mailbox');
@@ -56,7 +56,7 @@
    $ruids = get_input_value('_ruid', RCUBE_INPUT_POST);
    $read = $IMAP->set_flag($ruids, 'SEEN');
    if ($read != -1 && !$CONFIG['skip_deleted'])
    if ($read && !$CONFIG['skip_deleted'])
      $OUTPUT->command('flag_deleted_as_read', $ruids);
  }