mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX Handle null values passed to PDO::quote() (#10383)
This commit is contained in:
parent
b37178e831
commit
ad83b78a10
@ -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 ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user