mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
This commit is contained in:
parent
995cc6ecac
commit
b37178e831
@ -948,7 +948,7 @@ class Security extends Controller implements TemplateGlobalProvider
|
|||||||
static::clearSessionMessage();
|
static::clearSessionMessage();
|
||||||
|
|
||||||
// Ensure title is present - in case getResponseController() didn't return a page controller
|
// 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) {
|
if ($message) {
|
||||||
$messageResult = [
|
$messageResult = [
|
||||||
'Content' => DBField::create_field('HTMLFragment', $message),
|
'Content' => DBField::create_field('HTMLFragment', $message),
|
||||||
|
Loading…
Reference in New Issue
Block a user