mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix missing custom field values on first visit to calender list
This commit is contained in:
parent
8097119b6c
commit
42c269fc30
@ -262,7 +262,8 @@ class calendar_uilist extends calendar_ui
|
||||
if (!$params['csv_export']) egw_session::appsession('calendar_list','calendar',$params);
|
||||
|
||||
// do we need to query custom fields and which
|
||||
$select_cols = explode(',',$params['selectcols']);
|
||||
// Check stored preference if selectcols isn't available (ie: first call)
|
||||
$select_cols = explode(',',$params['selectcols'] ? $params['selectcols'] : $GLOBALS['egw_info']['user']['preferences']['calendar']['nextmatch-calendar.list.rows']);
|
||||
if (in_array('cfs',$select_cols))
|
||||
{
|
||||
$cfs = array();
|
||||
|
Loading…
Reference in New Issue
Block a user