mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:59:39 +01:00
Fix missing custom field values on first visit to calender list
This commit is contained in:
parent
c20bb4df6b
commit
fea1126283
@ -262,7 +262,8 @@ class calendar_uilist extends calendar_ui
|
|||||||
if (!$params['csv_export']) egw_session::appsession('calendar_list','calendar',$params);
|
if (!$params['csv_export']) egw_session::appsession('calendar_list','calendar',$params);
|
||||||
|
|
||||||
// do we need to query custom fields and which
|
// 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))
|
if (in_array('cfs',$select_cols))
|
||||||
{
|
{
|
||||||
$cfs = array();
|
$cfs = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user