diff options
Diffstat (limited to 'phpBB/includes/acm/acm_xcache.php')
-rw-r--r-- | phpBB/includes/acm/acm_xcache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acm/acm_xcache.php b/phpBB/includes/acm/acm_xcache.php index 9531f5e03d..e2bf21748a 100644 --- a/phpBB/includes/acm/acm_xcache.php +++ b/phpBB/includes/acm/acm_xcache.php @@ -257,11 +257,11 @@ class acm $this->sql_rowset[$query_id] = array(); $this->sql_row_pointer[$query_id] = 0; - while ($row = $db->sql_fetchrow($query_result)) + while ($row = phpbb::$db->sql_fetchrow($query_result)) { $this->sql_rowset[$query_id][] = $row; } - $db->sql_freeresult($query_result); + phpbb::$db->sql_freeresult($query_result); xcache_set('sql_' . md5($query), $this->sql_rowset[$query_id], $ttl); |