summaryrefslogtreecommitdiff
path: root/program/steps/mail/getunread.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-12-06 11:55:28 +0000
committeralecpl <alec@alec.pl>2009-12-06 11:55:28 +0000
commitb68cb3948523f6553f8d4661fc37ba71dd27cb03 (patch)
treedc35df747bb1d5345b39dd97f02b80b78f093487 /program/steps/mail/getunread.inc
parentceeab9ed917f63af9511299540339fd170a90a85 (diff)
- fix r3163 change (#1486340)
Diffstat (limited to 'program/steps/mail/getunread.inc')
-rw-r--r--program/steps/mail/getunread.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/getunread.inc b/program/steps/mail/getunread.inc
index efae53f33..625e3dc68 100644
--- a/program/steps/mail/getunread.inc
+++ b/program/steps/mail/getunread.inc
@@ -29,7 +29,7 @@ if (!empty($a_folders))
foreach ($a_folders as $mbox_row) {
if (!$check_all && isset($_SESSION['unseen_count'][$mbox_row]) && $mbox_row != $current)
- $unseen = isset($_SESSION['unseen_count'][$mbox_row]);
+ $unseen = $_SESSION['unseen_count'][$mbox_row];
else
$unseen = $IMAP->messagecount($mbox_row, 'UNSEEN', !isset($_SESSION['unseen_count'][$mbox_row]));