Don't change infolog list header when called by another app

This commit is contained in:
Nathan Gray 2014-04-07 16:49:42 +00:00
parent ff8c5c641a
commit 89fa0b435c

View File

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