Changeset 70ee70a in github
- Timestamp:
- Dec 4, 2009 9:22:48 AM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 724cc1f
- Parents:
- efe5a55
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/steps/mail/getunread.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r19d6a89 r70ee70a 2 2 =========================== 3 3 4 - Fix counters of all folders are checked in 'getunread' action with check_all_folders disabled (#1486128) 4 5 - Fix displaying alternative parts in messages of type message/rfc822 (#1486246) 5 6 - Fix possible messages exposure when using Roundcube behind a proxy (#1486281) -
program/steps/mail/getunread.inc
r915e3d1 r70ee70a 6 6 | | 7 7 | This file is part of the RoundCube Webmail client | 8 | Copyright (C) 2005-200 7, RoundCube Dev. - Switzerland |8 | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland | 9 9 | Licensed under the GNU GPL | 10 10 | | … … 24 24 if (!empty($a_folders)) 25 25 { 26 $inbox = ($IMAP->get_mailbox_name() == 'INBOX'); 26 $current = $IMAP->get_mailbox_name(); 27 $inbox = ($current == 'INBOX'); 28 $check_all = (bool)$RCMAIL->config->get('check_all_folders'); 29 27 30 foreach ($a_folders as $mbox_row) { 28 $unseen = $IMAP->messagecount($mbox_row, 'UNSEEN', !isset($_SESSION['unseen_count'][$mbox_row])); 31 if (!$check_all && isset($_SESSION['unseen_count'][$mbox_row]) && $mbox_row != $current) 32 $unseen = isset($_SESSION['unseen_count'][$mbox_row]); 33 else 34 $unseen = $IMAP->messagecount($mbox_row, 'UNSEEN', !isset($_SESSION['unseen_count'][$mbox_row])); 29 35 30 36 if ($unseen || !isset($_SESSION['unseen_count'][$mbox_row])) {
Note: See TracChangeset
for help on using the changeset viewer.
