diff options
| author | cmcnulty <cmcnulty@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-05-18 15:46:50 +0000 |
|---|---|---|
| committer | cmcnulty <cmcnulty@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-05-18 15:46:50 +0000 |
| commit | 124b7c5e18bdd78c294ad81aef3d1514f5b71ad4 (patch) | |
| tree | 96097666ec7b1551b6b1dc7d7b265afaad383209 /roundcubemail/program/steps/mail/mark.inc | |
| parent | 4472946d0b37117dac609cbe774c9f90c2299550 (diff) | |
renamed $mbox so that it will stop interfering with the $_SESSION when register_globals is turned on
git-svn-id: https://svn.roundcube.net/trunk@232 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/mark.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/mark.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/mail/mark.inc b/roundcubemail/program/steps/mail/mark.inc index c12429d4a..e6e06f976 100644 --- a/roundcubemail/program/steps/mail/mark.inc +++ b/roundcubemail/program/steps/mail/mark.inc @@ -1,5 +1,4 @@ <?php - /* +-----------------------------------------------------------------------+ | program/steps/mail/mark.inc | @@ -32,8 +31,8 @@ if ($_GET['_uid'] && $_GET['_flag']) $marked = $IMAP->set_flag($_GET['_uid'], $flag); if ($marked != -1) { - $mbox = $IMAP->get_mailbox_name(); - $commands = sprintf("this.set_unread_count('%s', %d);\n", $mbox, $IMAP->messagecount($mbox, 'UNSEEN')); + $mbox_name = $IMAP->get_mailbox_name(); + $commands = sprintf("this.set_unread_count('%s', %d);\n", $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN')); rcube_remote_response($commands); } } |
