From 45e2a5f0d6196404daaa1bb523e5229b8ba52bed Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Sat, 4 Apr 2009 19:07:42 +0000 Subject: [PATCH] - make output of template default handlers cachable --- change_log.txt | 1 + libs/sysplugins/internal.template.php | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/change_log.txt b/change_log.txt index cb7fd67c..410da5f1 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,5 @@ 04/04/2009 +- make output of template default handlers cachable - some fixes on yesterdays update 04/03/2006 diff --git a/libs/sysplugins/internal.template.php b/libs/sysplugins/internal.template.php index 53ead24c..af8cca7c 100644 --- a/libs/sysplugins/internal.template.php +++ b/libs/sysplugins/internal.template.php @@ -533,9 +533,8 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase { throw new Exception("Default template handler not callable"); } else { $_return = call_user_func_array($this->smarty->default_template_handler_func, - array($this->resource_type, $this->resource_name, &$this->template_source, &$this)); + array($this->resource_type, $this->resource_name, &$this->template_source, &$this->template_timestamp, &$this)); if ($_return == true) { - $this->isEvaluated = true; return $_filepath; } }