diff options
Diffstat (limited to 'program/steps/mail/getunread.inc')
-rw-r--r-- | program/steps/mail/getunread.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/getunread.inc b/program/steps/mail/getunread.inc index d35dcf9f1..437e3aa00 100644 --- a/program/steps/mail/getunread.inc +++ b/program/steps/mail/getunread.inc @@ -25,9 +25,9 @@ $a_folders = $IMAP->list_mailboxes(); if (!empty($a_folders)) { - foreach ($a_folders as $mbox) + foreach ($a_folders as $mbox_row) { - $commands = sprintf("this.set_unread_count('%s', %d);\n", $mbox, $IMAP->messagecount($mbox, 'UNSEEN')); + $commands = sprintf("this.set_unread_count('%s', %d);\n", $mbox_row, $IMAP->messagecount($mbox_row, 'UNSEEN')); rcube_remote_response($commands, TRUE); } } |