From e901f948f25db35a2639130a4d95df34dba58db2 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Tue, 21 Nov 2006 07:34:28 -0500 Subject: [PATCH] Updated Russian localization --- program/steps/mail/getunread.inc | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/program/steps/mail/getunread.inc b/program/steps/mail/getunread.inc index 2602217..ed4a5fb 100644 --- a/program/steps/mail/getunread.inc +++ b/program/steps/mail/getunread.inc @@ -25,13 +25,12 @@ if (!empty($a_folders)) { - foreach ($a_folders as $mbox) + foreach ($a_folders as $mbox_row) { - $commands = sprintf("this.set_unread_count('%s', %d);\n", $mbox, $IMAP->messagecount($mbox, 'UNSEEN')); + $commands = sprintf("this.set_unread_count('%s', %d);\n", addslashes($mbox_row), $IMAP->messagecount($mbox_row, 'UNSEEN')); rcube_remote_response($commands, TRUE); - ob_flush(); } } exit; -?> \ No newline at end of file +?> -- Gitblit v1.9.1