mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
switch back to null
users are expected to use ?? '' if needed
This commit is contained in:
parent
d3d03d9f79
commit
66c1c09b74
@ -48,7 +48,7 @@ class SQLite3Connector extends DBConnector
|
|||||||
public function getLastError()
|
public function getLastError()
|
||||||
{
|
{
|
||||||
$message = $this->dbConn->lastErrorMsg();
|
$message = $this->dbConn->lastErrorMsg();
|
||||||
return $message === 'not an error' ? '' : $message;
|
return $message === 'not an error' ? null : $message;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSelectedDatabase()
|
public function getSelectedDatabase()
|
||||||
|
Loading…
Reference in New Issue
Block a user