mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
Update code/SQLite3Connector.php
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
This commit is contained in:
parent
ecaadc029e
commit
d3d03d9f79
@ -170,7 +170,7 @@ class SQLite3Connector extends DBConnector
|
|||||||
|
|
||||||
public function escapeString($value)
|
public function escapeString($value)
|
||||||
{
|
{
|
||||||
return $this->dbConn->escapeString((string)$value);
|
return $this->dbConn->escapeString($value ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function selectDatabase($name)
|
public function selectDatabase($name)
|
||||||
|
Loading…
Reference in New Issue
Block a user