From d4558ca15812b80100824f2267eac4e3045ec41f Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Mon, 25 May 2009 21:14:44 +0000 Subject: [PATCH] - fixed problem with caching of compiler plugins --- change_log.txt | 3 +++ libs/sysplugins/internal.templatecompilerbase.php | 1 + 2 files changed, 4 insertions(+) diff --git a/change_log.txt b/change_log.txt index 578a6b7e..e653e394 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,6 @@ +05/25/2009 +- fixed problem with caching of compiler plugins + 05/14/2009 - fixed directory separator handling diff --git a/libs/sysplugins/internal.templatecompilerbase.php b/libs/sysplugins/internal.templatecompilerbase.php index 4f1c3f18..859620e4 100644 --- a/libs/sysplugins/internal.templatecompilerbase.php +++ b/libs/sysplugins/internal.templatecompilerbase.php @@ -158,6 +158,7 @@ class Smarty_Internal_TemplateCompilerBase extends Smarty_Internal_Base { } // if compiler function plugin call it now if ($this->smarty->registered_plugins[$tag][0] == 'compiler') { + $this->tag_nocache = false; return call_user_func_array($this->smarty->registered_plugins[$tag][1], array($args, $this)); } // compile function or block plugin