mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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)
|
||||
{
|
||||
return $this->pdoConnection->quote($value);
|
||||
return $this->pdoConnection->quote($value ?? '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user