summaryrefslogtreecommitdiff
path: root/program/steps/mail/getunread.inc
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-05-18 15:46:50 +0000
committersvncommit <devs@roundcube.net>2006-05-18 15:46:50 +0000
commitc5ac073c9f48ce33960f66f5cc925bb452ae18b2 (patch)
tree3c06d96cba6a38da8fdac53d29b8fbb72cc3c9db /program/steps/mail/getunread.inc
parentdab06575dc33646b50b56522c635ce4c2c6cb8a3 (diff)
renamed $mbox so that it will stop interfering with the $_SESSION when register_globals is turned on
Diffstat (limited to 'program/steps/mail/getunread.inc')
-rw-r--r--program/steps/mail/getunread.inc4
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);
}
}