mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 05:12:25 +01:00
Fix missing current app...
This commit is contained in:
parent
288a88239b
commit
3c1bebf3f1
@ -102,8 +102,8 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
// Send categories
|
||||
if(!$value['no_cat'] && !$value['cat_is_select'])
|
||||
{
|
||||
$cat_app = $value['cat_app'] ? $value['cat_app'] : '';
|
||||
$value['options-cat_id'] = etemplate_widget_menupopup::typeOptions('select-cat', ',,'.$cat_app,$no_lang,false,$value['cat_id']);
|
||||
$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']);
|
||||
}
|
||||
// todo: no need to store rows in request, it's enought to send them to client
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user