From 46f595457a887d3f4ab4e9991bd64260ebccf58f Mon Sep 17 00:00:00 2001 From: richs Date: Thu, 29 Jun 2006 23:41:40 +0000 Subject: Removeable attachments, Auto-default folder creation, bug fixes git-svn-id: https://svn.roundcube.net/trunk@269 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/getunread.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/steps/mail/getunread.inc') 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 +?> -- cgit v1.2.3