From a894ba5029a09fb9d0453b5cf9c944ce313f8a48 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Thu, 29 Jun 2006 19:41:40 -0400 Subject: [PATCH] Removeable attachments, Auto-default folder creation, bug fixes --- program/steps/mail/getunread.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/steps/mail/getunread.inc b/program/steps/mail/getunread.inc index 437e3aa..ed4a5fb 100644 --- a/program/steps/mail/getunread.inc +++ b/program/steps/mail/getunread.inc @@ -27,10 +27,10 @@ { 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 +?> -- Gitblit v1.9.1