aboutsummaryrefslogtreecommitdiffstats
path: root/include/smarty/libs/internals/core.write_cache_file.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-12-09 16:08:48 +0000
committerpatdenice <patdenice@piwigo.org>2008-12-09 16:08:48 +0000
commitc7e54656feccfe2be6456d58775d46ec2d722ea4 (patch)
treebbbc3e06d7d978e229b5d35dcbb3c1c0193f0759 /include/smarty/libs/internals/core.write_cache_file.php
parentc3e65e4a862ed505f2524767db84978de741fa21 (diff)
Update Smarty to 2.6.21
git-svn-id: http://piwigo.org/svn/trunk@2961 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/smarty/libs/internals/core.write_cache_file.php2
1 files changed, 1 insertions, 1 deletions
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