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:
Thomas Portelange 2022-08-19 15:04:48 +02:00 committed by GitHub
parent a919f8a317
commit 05abb3f483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,7 @@ class SQLite3Connector extends DBConnector
public function escapeString($value) public function escapeString($value)
{ {
return $this->dbConn->escapeString($value); return $this->dbConn->escapeString((string)$value);
} }
public function selectDatabase($name) public function selectDatabase($name)