mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update sqlite.php
This commit is contained in:
parent
d562c82f16
commit
7ba730e9fa
3
library/includes/cache/sqlite.php
vendored
3
library/includes/cache/sqlite.php
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user