Skip to content

Commit

Permalink
Update code/SQLite3Connector.php
Browse files Browse the repository at this point in the history
Co-authored-by: Guy Sartorelli <[email protected]>
  • Loading branch information
lekoala and GuySartorelli authored Aug 31, 2022
1 parent ecaadc0 commit d3d03d9
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((string)$value);
return $this->dbConn->escapeString($value ?? '');
}

public function selectDatabase($name)
Expand Down

0 comments on commit d3d03d9

Please sign in to comment.