mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge branch '4.11' into 4
This commit is contained in:
commit
b101b8bdb8
@ -292,7 +292,7 @@ class PDOConnector extends DBConnector implements TransactionManager
|
|||||||
|
|
||||||
public function quoteString($value)
|
public function quoteString($value)
|
||||||
{
|
{
|
||||||
return $this->pdoConnection->quote($value);
|
return $this->pdoConnection->quote($value ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user