From 66c1c09b74231c70699cf6af80b2174a8d17e8fa Mon Sep 17 00:00:00 2001 From: Thomas Portelange Date: Wed, 31 Aug 2022 09:00:08 +0200 Subject: [PATCH] switch back to null users are expected to use ?? '' if needed --- code/SQLite3Connector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ class SQLite3Connector extends DBConnector public function getLastError() { $message = $this->dbConn->lastErrorMsg(); - return $message === 'not an error' ? '' : $message; + return $message === 'not an error' ? null : $message; } public function getSelectedDatabase()