mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fixed bug no addresses show, if only one contact type defined
This commit is contained in:
parent
8c0945b4d0
commit
b38f020e32
@ -164,7 +164,7 @@ class uicontacts extends bocontacts
|
||||
// dont show tid-selection if we have only one content_type
|
||||
if (count($this->content_types) <= 1)
|
||||
{
|
||||
$preserv['tid'] = 'n';
|
||||
$content['nm']['col_filter']['tid'] = 'n';
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -174,7 +174,6 @@ class uicontacts extends bocontacts
|
||||
$sel_options['col_filter[tid]'][$tid] = $data['name'];
|
||||
}
|
||||
}
|
||||
|
||||
// get the availible org-views plus the label of the contacts view of one org
|
||||
$sel_options['org_view'] = $this->org_views;
|
||||
if (isset($org_view)) $content['nm']['org_view'] = $org_view;
|
||||
|
Loading…
Reference in New Issue
Block a user