avoid "InfoLog - " app-header

This commit is contained in:
Ralf Becker 2014-03-04 15:38:56 +00:00
parent 1ae64aab58
commit c28f980db3

View File

@ -455,7 +455,7 @@ class infolog_ui
if ($GLOBALS['egw_info']['flags']['currentapp'] == 'infolog')
{
$GLOBALS['egw_info']['flags']['app_header'] = lang('Infolog');
if ($query['filter'] != '')
if ($query['filter'] != '' && !empty($this->filters[$query['filter']]))
{
$GLOBALS['egw_info']['flags']['app_header'] .= ' - '.lang($this->filters[$query['filter']]);
}