summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/getunread.inc
diff options
context:
space:
mode:
authorrichs <richs@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-06-29 23:41:40 +0000
committerrichs <richs@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-06-29 23:41:40 +0000
commit46f595457a887d3f4ab4e9991bd64260ebccf58f (patch)
tree03b244edbf6793db2a277f24381111c7eb4ec68d /roundcubemail/program/steps/mail/getunread.inc
parent271af6a58c7d0e70253206423bcd0feaa47cd965 (diff)
Removeable attachments, Auto-default folder creation, bug fixes
git-svn-id: https://svn.roundcube.net/trunk@269 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/getunread.inc')
-rw-r--r--roundcubemail/program/steps/mail/getunread.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/getunread.inc b/roundcubemail/program/steps/mail/getunread.inc
index 437e3aa00..ed4a5fb77 100644
--- a/roundcubemail/program/steps/mail/getunread.inc
+++ b/roundcubemail/program/steps/mail/getunread.inc
@@ -27,10 +27,10 @@ if (!empty($a_folders))
{
foreach ($a_folders as $mbox_row)
{
- $commands = sprintf("this.set_unread_count('%s', %d);\n", $mbox_row, $IMAP->messagecount($mbox_row, 'UNSEEN'));
+ $commands = sprintf("this.set_unread_count('%s', %d);\n", addslashes($mbox_row), $IMAP->messagecount($mbox_row, 'UNSEEN'));
rcube_remote_response($commands, TRUE);
}
}
exit;
-?> \ No newline at end of file
+?>