mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[ticket/10875] Fix SQL Caching
The sql_save function cannot take arguments by reference since it is called by call_user_func_array() Replace use of isset($cache->sql_rowset[$query_id]) with $cache->sql_exists Replace $cache->cache_dir with $cache->get_driver()->cache_dir PHPBB3-10875
This commit is contained in:
2
phpBB/includes/cache/driver/file.php
vendored
2
phpBB/includes/cache/driver/file.php
vendored
@@ -364,7 +364,7 @@ class phpbb_cache_driver_file extends phpbb_cache_driver_base
|
||||
/**
|
||||
* Save sql query
|
||||
*/
|
||||
function sql_save($query, &$query_result, $ttl)
|
||||
function sql_save($query, $query_result, $ttl)
|
||||
{
|
||||
global $db;
|
||||
|
||||
|
Reference in New Issue
Block a user