From cb2bc809ef29f349d38c89e202d821e67bb4c947 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 21 Sep 2010 14:47:55 -0400
Subject: [PATCH] Fix db_mode check in insert_id()

---
 program/steps/mail/folders.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/program/steps/mail/folders.inc b/program/steps/mail/folders.inc
index 73d4ae8..ce3406c 100644
--- a/program/steps/mail/folders.inc
+++ b/program/steps/mail/folders.inc
@@ -32,6 +32,7 @@
   // reload message list if current mailbox  
   if ($success && !empty($_REQUEST['_reload']))
   {
+    $OUTPUT->command('set_quota', rcmail_quota_content());
     $OUTPUT->command('message_list.clear');
     $RCMAIL->action = 'list';
     return;
@@ -60,6 +61,7 @@
       $OUTPUT->command('message_list.clear');
       $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text());
       $OUTPUT->command('set_unread_count', $mbox_name, 0);
+      $OUTPUT->command('set_quota', rcmail_quota_content());
       $_SESSION['unseen_count'][$mbox_name] = 0;
     }
     else
@@ -69,4 +71,4 @@
 
 $OUTPUT->send($commands);
 
-?>
+

--
Gitblit v1.9.1