fix displayed [] instead of [Login]

This commit is contained in:
ralf 2022-05-02 09:15:46 +02:00
parent 4202b7357f
commit 78c9b4ac50

View File

@ -500,7 +500,7 @@ abstract class Framework extends Framework\Extra
$app = $GLOBALS['egw_info']['flags']['currentapp'];
$app_title = $GLOBALS['egw_info']['apps'][$app]['title'] ?? lang($app);
$app_header = $GLOBALS['egw_info']['flags']['app_header'] ?? $app_title;
$site_title = strip_tags(($GLOBALS['egw_info']['server']['site_title']??'').' ['.$app_header.']');
$site_title = strip_tags(($GLOBALS['egw_info']['server']['site_title']??'').' ['.($app_header ?: $app_title).']');
// send appheader to clientside
$extra['app-header'] = $app_header;