thomascube
2009-07-13 d5515f64b6a09f10e488f20d273317a022054165
program/steps/mail/show.inc
@@ -108,7 +108,7 @@
    $next = $prev = $first = $last = -1;
    if ($_SESSION['sort_col'] == 'date' && $_SESSION['sort_order'] != 'DESC'
   && empty($_REQUEST['_search']) && !$IMAP->skip_deleted)
        && empty($_REQUEST['_search']) && !$IMAP->skip_deleted)
      {
      // this assumes that we are sorted by date_DESC
      $cnt = $IMAP->messagecount();
@@ -145,7 +145,7 @@
  if (!$MESSAGE->headers->seen)
    $RCMAIL->plugins->exec_hook('message_read', array('uid' => $MESSAGE->uid,
   'mailbox' => $IMAP->mailbox, 'message' => $MESSAGE));
      'mailbox' => $IMAP->mailbox, 'message' => $MESSAGE));
}