From 0e627cb83e9d923aed62bda79a00682993e76194 Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Wed, 10 Sep 2008 15:57:27 +0000 Subject: [PATCH] - fix pass expiration time in cache_handler_func call. (U.Tews) --- libs/internals/core.write_cache_file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/internals/core.write_cache_file.php b/libs/internals/core.write_cache_file.php index 72f785b7..fa3cdd74 100644 --- a/libs/internals/core.write_cache_file.php +++ b/libs/internals/core.write_cache_file.php @@ -68,7 +68,7 @@ function smarty_core_write_cache_file($params, &$smarty) if (!empty($smarty->cache_handler_func)) { // use cache_handler function call_user_func_array($smarty->cache_handler_func, - array('write', &$smarty, &$params['results'], $params['tpl_file'], $params['cache_id'], $params['compile_id'], null)); + array('write', &$smarty, &$params['results'], $params['tpl_file'], $params['cache_id'], $params['compile_id'], $smarty->_cache_info['expires'])); } else { // use local cache file