mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
extra option 0 => None set in addressbook for cat_id got lost
This commit is contained in:
parent
ae057bd957
commit
73523fbecc
@ -174,7 +174,9 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
|||||||
if(!$value['no_cat'] && !$value['cat_is_select'])
|
if(!$value['no_cat'] && !$value['cat_is_select'])
|
||||||
{
|
{
|
||||||
$cat_app = $value['cat_app'] ? $value['cat_app'] : $GLOBALS['egw_info']['flags']['current_app'];
|
$cat_app = $value['cat_app'] ? $value['cat_app'] : $GLOBALS['egw_info']['flags']['current_app'];
|
||||||
$value['options-cat_id'] = array('' => lang('all')) + etemplate_widget_menupopup::typeOptions('select-cat', ',,'.$cat_app,$no_lang,false,$value['cat_id']);
|
$value['options-cat_id'] = array('' => lang('all')) +
|
||||||
|
etemplate_widget_menupopup::typeOptions('select-cat', ',,'.$cat_app,$no_lang,false,$value['cat_id']) +
|
||||||
|
(array)$value['options-cat_id'];
|
||||||
etemplate_widget_menupopup::fix_encoded_options($value['options-cat_id']);
|
etemplate_widget_menupopup::fix_encoded_options($value['options-cat_id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user