summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/list.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-09-17 09:14:13 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-09-17 09:14:13 +0000
commite3c8f42f788ab48ec500c436d99b56878ad2ff0f (patch)
tree1d72da1e27a09633a086ba0f0775af2daeb6e94e /roundcubemail/program/steps/mail/list.inc
parent2537ca59833f0d30115b735f6a24255beb5094c8 (diff)
- Fix list_cols is not updated after column dragging (#1486999)
- Improved save-pref action and moved to separate file in utils task directory - Improved http_post/http_request to support first argument in form 'task/action' git-svn-id: https://svn.roundcube.net/trunk@3971 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/list.inc')
-rw-r--r--roundcubemail/program/steps/mail/list.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/list.inc b/roundcubemail/program/steps/mail/list.inc
index 69d03b3bf..9f59243d2 100644
--- a/roundcubemail/program/steps/mail/list.inc
+++ b/roundcubemail/program/steps/mail/list.inc
@@ -48,7 +48,7 @@ if ($cols = get_input_value('_cols', RCUBE_INPUT_GET))
$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_rowcount', rcmail_get_messagecount_text($count));
$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)