Skip to content

Commit 4ae3b94

Browse files
author
Till Brehm
committed
Merge branch 'master' into 'stable-3.1'
layout-fix for company name See merge request !319
2 parents 8cad783 + 0ab0644 commit 4ae3b94

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

interface/web/index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@
109109
$app->tpl->setVar('base64_logo_txt', $base64_logo_txt);
110110

111111
// Title
112-
$app->tpl->setVar('company_name', $sys_config['company_name']. ' :: ');
112+
if (!empty($sys_config['company_name'])) {
113+
$app->tpl->setVar('company_name', $sys_config['company_name']. ' :: ');
114+
}
113115

114116
$app->tpl_defaults();
115117
$app->tpl->pparse();

interface/web/login/index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,9 @@
341341
$app->tpl->setVar('base64_logo_txt', $base64_logo_txt);
342342

343343
// Title
344-
$app->tpl->setVar('company_name', $sys_config['company_name']. ' :: ');
344+
if (!empty($sys_config['company_name'])) {
345+
$app->tpl->setVar('company_name', $sys_config['company_name']. ' :: ');
346+
}
345347

346348
// Custom Login
347349
if ($sys_config['custom_login_text'] != '') {

0 commit comments

Comments
 (0)