Ticket #1484001 (closed Patches: duplicate)
Incorrect Unread Messages Count
| Reported by: | charles | Owned by: | |
|---|---|---|---|
| Priority: | 6 | Milestone: | 0.1.1 |
| Component: | PHP backend | Version: | 0.1-beta2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In the list of folders on the left of the display, created by rcmail_render_folder_tree_html(), the unread message count for each mailbox is displayed in brackets after the mailbox name. However, the number is currently incorrect. Line 201 of func.inc reads:
if ($unread_count = $IMAP->messagecount($folderid?, 'RECENT', ($folderid?==$mbox_name)))
But it ought to read:
if ($unread_count = $IMAP->messagecount($folderid?, 'UNSEEN', ($folderid?==$mbox_name)))
We want the unseen count, not the recent count.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
