FIX: 'passwordsent' title was not being displayed (fixes #10366) (#10367)

This commit is contained in:
Loz Calver 2022-07-01 02:58:57 +01:00 committed by GitHub
parent 995cc6ecac
commit b37178e831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -948,7 +948,7 @@ class Security extends Controller implements TemplateGlobalProvider
static::clearSessionMessage();
// Ensure title is present - in case getResponseController() didn't return a page controller
$fragments = array_merge($fragments, ['Title' => $title]);
$fragments = array_merge(['Title' => $title], $fragments);
if ($message) {
$messageResult = [
'Content' => DBField::create_field('HTMLFragment', $message),