mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 04:31:06 +01:00
fixed category with cat_id=1 got lost in addressbook
This commit is contained in:
parent
e1dd31ebbd
commit
614be1770d
@ -188,9 +188,8 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
{
|
||||
$value['options-cat_id'][''] = lang('all');
|
||||
}
|
||||
$value['options-cat_id'] +=
|
||||
etemplate_widget_menupopup::typeOptions('select-cat', ',,'.$cat_app,$no_lang,false,$value['cat_id']) +
|
||||
(array)$value['options-cat_id'];
|
||||
$value['options-cat_id'] = array_merge($value['options-cat_id'],
|
||||
etemplate_widget_menupopup::typeOptions('select-cat', ',,'.$cat_app,$no_lang,false,$value['cat_id']));
|
||||
etemplate_widget_menupopup::fix_encoded_options($value['options-cat_id']);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user