Skip to content

Commit d489c02

Browse files
author
Marius Burkard
committed
Merge branch '5864-html-title-password-lost-form' into 'develop'
Load the company name to show in the HTML title tag, fixes #5864 Closes #5864 See merge request ispconfig/ispconfig3!1298
2 parents 4349212 + c5ceae2 commit d489c02

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)