Skip to content

Commit

Permalink
Merge pull request #65 from lekoala/patch-1
Browse files Browse the repository at this point in the history
prevent php 8 complaining about null values
  • Loading branch information
GuySartorelli authored Sep 6, 2022
2 parents f949bec + 66c1c09 commit ee7f0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/SQLite3Connector.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function quoteString($value)

public function escapeString($value)
{
return $this->dbConn->escapeString($value);
return $this->dbConn->escapeString($value ?? '');
}

public function selectDatabase($name)
Expand Down

0 comments on commit ee7f0e4

Please sign in to comment.