mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
Merge pull request #65 from lekoala/patch-1
prevent php 8 complaining about null values
This commit is contained in:
commit
ee7f0e4d25
@ -170,7 +170,7 @@ class SQLite3Connector extends DBConnector
|
||||
|
||||
public function escapeString($value)
|
||||
{
|
||||
return $this->dbConn->escapeString($value);
|
||||
return $this->dbConn->escapeString($value ?? '');
|
||||
}
|
||||
|
||||
public function selectDatabase($name)
|
||||
|
Loading…
Reference in New Issue
Block a user