mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
"fixed warning if there's no col-selection yet"
This commit is contained in:
parent
a879dd4055
commit
92f16b2d7e
@ -938,7 +938,7 @@ class uicontacts extends bocontacts
|
||||
// do we need to read the custom fields, depends on the column is enabled and customfields exist
|
||||
$columselection = $this->prefs['nextmatch-addressbook.'.($do_email ? 'email' : 'index').'.rows'];
|
||||
$available_distib_lists=$this->get_lists(EGW_ACL_EDIT);
|
||||
if ($columselection) $columselection = explode(',',$columselection);
|
||||
$columselection = $columselection ? explode(',',$columselection) : array();
|
||||
if (!$id_only && $rows)
|
||||
{
|
||||
$show_custom_fields = (!$columselection || in_array('customfields',$columselection)) && $this->customfields;
|
||||
|
Loading…
Reference in New Issue
Block a user