mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #9649 from kinglozzer/9648-security-titles
FIX: Include missing security page titles when CMS not installed (fixes #9648)
This commit is contained in:
commit
e339549e0d
@ -939,6 +939,8 @@ class Security extends Controller implements TemplateGlobalProvider
|
|||||||
// We've displayed the message in the form output, so reset it for the next run.
|
// We've displayed the message in the form output, so reset it for the next run.
|
||||||
static::clearSessionMessage();
|
static::clearSessionMessage();
|
||||||
|
|
||||||
|
// Ensure title is present - in case getResponseController() didn't return a page controller
|
||||||
|
$fragments = array_merge($fragments, ['Title' => $title]);
|
||||||
if ($message) {
|
if ($message) {
|
||||||
$messageResult = [
|
$messageResult = [
|
||||||
'Content' => DBField::create_field('HTMLFragment', $message),
|
'Content' => DBField::create_field('HTMLFragment', $message),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user