Revert "Update sqlite.php"

This reverts commit 7ba730e9fa.
This commit is contained in:
Roman Kelesidis 2023-10-21 09:41:58 +07:00
parent 1317f40898
commit 84c5e50396

View File

@ -289,8 +289,7 @@ class sqlite_common extends cache_common
function changes () function changes ()
{ {
$changes = $this->dbh->changes(); return is_resource($this->dbh) ? $this->dbh->changes() : 0;
return is_resource($this->dbh) ? $changes : 0;
} }
function escape ($str) function escape ($str)