summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-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]));