Skip to content

Commit

Permalink
switch back to null
Browse files Browse the repository at this point in the history
users are expected to use ?? '' if needed
  • Loading branch information
lekoala authored Aug 31, 2022
1 parent d3d03d9 commit 66c1c09
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 @@ -48,7 +48,7 @@ public function getGeneratedID($table)
public function getLastError()
{
$message = $this->dbConn->lastErrorMsg();
return $message === 'not an error' ? '' : $message;
return $message === 'not an error' ? null : $message;
}

public function getSelectedDatabase()
Expand Down

0 comments on commit 66c1c09

Please sign in to comment.