fix handling of smart col in widescreen mode when col not included in list mode

pull/7287/head
PhilW 4 years ago
parent 0475277a26
commit 0ab96647bc

@ -448,10 +448,7 @@ function rcmail_js_message_list($a_headers, $insert_top=false, $a_show_cols=null
$thead = $head_replace ? rcmail_message_list_head($_SESSION['list_attrib'], $allcols) : NULL;
// get name of smart From/To column in folder context
if (array_search('fromto', $a_show_cols) !== false) {
$smart_col = rcmail_message_list_smart_column_name();
}
$smart_col = rcmail_message_list_smart_column_name();
$OUTPUT->command('set_message_coltypes', array_values($a_show_cols), $thead, $smart_col);
if ($multifolder && $_SESSION['search_scope'] == 'all') {

Loading…
Cancel
Save