From 93adb3fc1b743f80859a5902694d06e7ceecdb59 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Mon, 09 Mar 2009 17:03:10 -0400 Subject: [PATCH] Fixed check-recent [richs] --- index.php | 1 + program/steps/mail/check_recent.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/index.php b/index.php index 172d57c..fba7e81 100644 --- a/index.php +++ b/index.php @@ -183,6 +183,7 @@ 'remove-attachment' => 'attachments.inc', 'display-attachment' => 'attachments.inc', 'upload' => 'attachments.inc', + 'check-recent' => 'check_recent.inc', ), 'addressbook' => array( diff --git a/program/steps/mail/check_recent.inc b/program/steps/mail/check_recent.inc index b85a613..438e97b 100644 --- a/program/steps/mail/check_recent.inc +++ b/program/steps/mail/check_recent.inc @@ -66,7 +66,7 @@ } } } - else if ($IMAP->messagecount($mbox_name, 'RECENT', $check_all)) { + else if ($IMAP->messagecount($mbox_name, 'UNSEEN', $check_all)) { $OUTPUT->command('set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN', $check_all)); } } -- Gitblit v1.9.1