From 93adb3fc1b743f80859a5902694d06e7ceecdb59 Mon Sep 17 00:00:00 2001 From: svncommit Date: Mon, 9 Mar 2009 21:03:10 +0000 Subject: Fixed check-recent [richs] --- program/steps/mail/check_recent.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') diff --git a/program/steps/mail/check_recent.inc b/program/steps/mail/check_recent.inc index b85a613b3..438e97bdb 100644 --- a/program/steps/mail/check_recent.inc +++ b/program/steps/mail/check_recent.inc @@ -66,7 +66,7 @@ foreach ($a_mailboxes as $mbox_name) { } } } - 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)); } } -- cgit v1.2.3