Skip to content

Commit c5ceae2

Browse files
committed
Load the company name to show in the HTML title tag, fixes #5864
1 parent 2e4e448 commit c5ceae2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

interface/web/login/password_reset.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,10 @@
179179
$app->tpl->setVar('base64_logo_txt', $base64_logo_txt);
180180

181181
// Title
182-
$app->tpl->setVar('company_name', $sys_config['company_name']. ' :: ');
182+
$sys_config = $app->getconf->get_global_config('misc');
183+
if (!empty($sys_config['company_name'])) {
184+
$app->tpl->setVar('company_name', $sys_config['company_name']. ' :: ');
185+
}
183186

184187
$app->tpl_defaults();
185188
$app->tpl->pparse();

0 commit comments

Comments
 (0)