mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
prevent php 8 complaining about null values
Fix Deprecated: SQLite3::escapeString(): Passing null to parameter #1 ($string) of type string is deprecated
This commit is contained in:
parent
a919f8a317
commit
05abb3f483
@ -170,7 +170,7 @@ class SQLite3Connector extends DBConnector
|
||||
|
||||
public function escapeString($value)
|
||||
{
|
||||
return $this->dbConn->escapeString($value);
|
||||
return $this->dbConn->escapeString((string)$value);
|
||||
}
|
||||
|
||||
public function selectDatabase($name)
|
||||
|
Loading…
Reference in New Issue
Block a user