mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/10875] Fix return value of phpbb_cache_driver_null::sql_save().
phpbb_cache_driver_null::sql_save() has to return $query_result as is instead of null. PHPBB3-10875
This commit is contained in:
parent
4f65a00334
commit
e28f0aa336
1 changed files with 1 additions and 0 deletions
1
phpBB/includes/cache/driver/null.php
vendored
1
phpBB/includes/cache/driver/null.php
vendored
|
@ -109,6 +109,7 @@ class phpbb_cache_driver_null extends phpbb_cache_driver_base
|
|||
*/
|
||||
function sql_save($query, $query_result, $ttl)
|
||||
{
|
||||
return $query_result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue