From 5b3a9696ebcc56bb0377e58ad8c12e348848d109 Mon Sep 17 00:00:00 2001 From: patdenice Date: Tue, 9 Dec 2008 16:12:25 +0000 Subject: merge -c2961 from trunk to branch 2.0. Update Smarty to 2.6.21 git-svn-id: http://piwigo.org/svn/branches/2.0@2962 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/smarty/libs/internals/core.write_cache_file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/smarty/libs/internals/core.write_cache_file.php') diff --git a/include/smarty/libs/internals/core.write_cache_file.php b/include/smarty/libs/internals/core.write_cache_file.php index 72f785b74..fa3cdd746 100644 --- a/include/smarty/libs/internals/core.write_cache_file.php +++ b/include/smarty/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 -- cgit v1.2.3