Update sqlite.php

This commit is contained in:
Roman Kelesidis 2023-10-21 09:29:11 +07:00
parent d562c82f16
commit 7ba730e9fa

View File

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