summaryrefslogtreecommitdiff
path: root/program/steps/mail/folders.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/folders.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/folders.inc')
-rw-r--r--program/steps/mail/folders.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/folders.inc b/program/steps/mail/folders.inc
index 5a22b7e72..d614ac841 100644
--- a/program/steps/mail/folders.inc
+++ b/program/steps/mail/folders.inc
@@ -19,7 +19,7 @@
*/
$REMOTE_REQUEST = TRUE;
-$mbox = $IMAP->get_mailbox_name();
+$mbox_name = $IMAP->get_mailbox_name();
// send EXPUNGE command
@@ -49,7 +49,7 @@ else if ($_action=='purge')
$commands .= "this.set_env('messagecount', 0);\n";
$commands .= "this.set_env('pagecount', 0);\n";
$commands .= sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text());
- $commands .= sprintf("this.set_unread_count('%s', 0);\n", addslashes($mbox));
+ $commands .= sprintf("this.set_unread_count('%s', 0);\n", addslashes($mbox_name));
}
else
$commands = "// purged: $success";