forked from extern/egroupware
"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
|
// 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'];
|
$columselection = $this->prefs['nextmatch-addressbook.'.($do_email ? 'email' : 'index').'.rows'];
|
||||||
$available_distib_lists=$this->get_lists(EGW_ACL_EDIT);
|
$available_distib_lists=$this->get_lists(EGW_ACL_EDIT);
|
||||||
if ($columselection) $columselection = explode(',',$columselection);
|
$columselection = $columselection ? explode(',',$columselection) : array();
|
||||||
if (!$id_only && $rows)
|
if (!$id_only && $rows)
|
||||||
{
|
{
|
||||||
$show_custom_fields = (!$columselection || in_array('customfields',$columselection)) && $this->customfields;
|
$show_custom_fields = (!$columselection || in_array('customfields',$columselection)) && $this->customfields;
|
||||||
|
Loading…
Reference in New Issue
Block a user