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/list.inc |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc
index cf38551..9f59243 100644
--- a/program/steps/mail/list.inc
+++ b/program/steps/mail/list.inc
@@ -48,7 +48,7 @@
   $save_arr['list_cols'] = explode(',', $cols);
 }
 
-if ($save_arr)  
+if ($save_arr)
   $RCMAIL->user->save_prefs($save_arr);
 
 $mbox_name = $IMAP->get_mailbox_name();
@@ -88,7 +88,7 @@
 $OUTPUT->command('set_mailboxname', rcmail_get_mailbox_name_text());
 
 // add message rows
-rcmail_js_message_list($a_headers, FALSE, (bool) $cols);
+rcmail_js_message_list($a_headers, FALSE, $cols);
 if (isset($a_headers) && count($a_headers))
 {
   if ($search_request)
@@ -102,5 +102,4 @@
 // send response
 $OUTPUT->send();
 
-?>
 

--
Gitblit v1.9.1