From 32cd76227867f1658e78cd078b25ea2e9dbc6d91 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sun, 20 Nov 2016 15:49:52 +0100 Subject: [PATCH] Always send columns list as array (unsetting items makes it an object with numeric keys) --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 4ab1d3b1c..07f12ef5f 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -463,7 +463,7 @@ function rcmail_js_message_list($a_headers, $insert_top=false, $a_show_cols=null $smart_col = rcmail_message_list_smart_column_name(); } - $OUTPUT->command('set_message_coltypes', $a_show_cols, $thead, $smart_col); + $OUTPUT->command('set_message_coltypes', array_values($a_show_cols), $thead, $smart_col); if ($multifolder && $_SESSION['search_scope'] == 'all') { $OUTPUT->command('select_folder', '');