diff --git a/code/SQLite3Connector.php b/code/SQLite3Connector.php index ab2e8ed..25efb14 100644 --- a/code/SQLite3Connector.php +++ b/code/SQLite3Connector.php @@ -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()