aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-08-26 18:42:21 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-10-30 18:50:25 -0400
commite28f0aa336e4b4d8965d1025d6e0d28e6b1fcde9 (patch)
tree3ba76ce140fc9d4d3b86acab4e4c18e6497d1c84 /phpBB/includes
parent4f65a003344a3aeec0c5f608e990c2860146d39e (diff)
downloadforums-e28f0aa336e4b4d8965d1025d6e0d28e6b1fcde9.tar
forums-e28f0aa336e4b4d8965d1025d6e0d28e6b1fcde9.tar.gz
forums-e28f0aa336e4b4d8965d1025d6e0d28e6b1fcde9.tar.bz2
forums-e28f0aa336e4b4d8965d1025d6e0d28e6b1fcde9.tar.xz
forums-e28f0aa336e4b4d8965d1025d6e0d28e6b1fcde9.zip
[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
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/cache/driver/null.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/cache/driver/null.php b/phpBB/includes/cache/driver/null.php
index df2c6c026f..687604d14f 100644
--- a/phpBB/includes/cache/driver/null.php
+++ b/phpBB/includes/cache/driver/null.php
@@ -109,6 +109,7 @@ class phpbb_cache_driver_null extends phpbb_cache_driver_base
*/
function sql_save($query, $query_result, $ttl)
{
+ return $query_result;
}
/**