- bugfix on plugins if same plugin was called from a nocache section first and later from a cached section

This commit is contained in:
Uwe.Tews
2010-01-19 17:01:10 +00:00
parent 2c570f25b9
commit cfea085629
2 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
01/19/2010
- bugfix on plugins if same plugin was called from a nocache section first and later from a cached section
01/17/2010 01/17/2010
- bugfix on $smarty.const... in double quoted strings - bugfix on $smarty.const... in double quoted strings

View File

@@ -277,7 +277,7 @@ class Smarty_Internal_TemplateCompilerBase {
} }
} else { } else {
if (isset($this->template->required_plugins['cache'][$plugin_name])) { if (isset($this->template->required_plugins['cache'][$plugin_name])) {
$this->template->required_plugins['compiled'][$plugin_name] = $this->template->required_plugins['compiled'][$plugin_name]; $this->template->required_plugins['compiled'][$plugin_name] = $this->template->required_plugins['cache'][$plugin_name];
} }
} }
if ($type == 'modifier') { if ($type == 'modifier') {