"query and display only selected cfs"

This commit is contained in:
Ralf Becker 2008-04-02 08:24:52 +00:00
parent 5825fb3b9a
commit db8b9cc428

View File

@ -955,7 +955,14 @@ class uicontacts extends bocontacts
{
$ids[] = $val['id'];
}
if ($show_custom_fields) $customfields = $this->read_customfields($ids);
if ($show_custom_fields)
{
foreach($columselection as $col)
{
if ($col[0] == '#') $selected_cfs[] = substr($col,1);
}
$customfields = $this->read_customfields($ids,$selected_cfs);
}
if ($show_calendar) $calendar = $this->read_calendar($ids);
// distributionlist memership for the entrys
//_debug_array($this->get_lists(EGW_ACL_EDIT));