From 78c9b4ac50d5a31fb659459d50e55d6524063129 Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 2 May 2022 09:15:46 +0200 Subject: [PATCH] fix displayed [] instead of [Login] --- api/src/Framework.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Framework.php b/api/src/Framework.php index 6d212ce163..9c4c6faf7b 100644 --- a/api/src/Framework.php +++ b/api/src/Framework.php @@ -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;