mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-03-01 15:21:02 +03:00
parent
4f98d80dd4
commit
ff2ea2e3ee
3
library/includes/cache/sqlite.php
vendored
3
library/includes/cache/sqlite.php
vendored
@ -272,7 +272,8 @@ class sqlite_common extends cache_common
|
|||||||
function fetch_row ($query)
|
function fetch_row ($query)
|
||||||
{
|
{
|
||||||
$result = $this->query($query);
|
$result = $this->query($query);
|
||||||
return is_resource($result) ? $result->fetchArray(SQLITE3_ASSOC) : false;
|
$row = $result->fetchArray(SQLITE3_ASSOC);
|
||||||
|
return is_resource($result) ? $row : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function fetch_rowset ($query)
|
function fetch_rowset ($query)
|
||||||
|
Loading…
Reference in New Issue
Block a user