mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 21:31:48 +01:00
- bugfix on plugins if same plugin was called from a nocache section first and later from a cached section
This commit is contained in:
@@ -277,7 +277,7 @@ class Smarty_Internal_TemplateCompilerBase {
|
||||
}
|
||||
} else {
|
||||
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') {
|
||||
|
||||
Reference in New Issue
Block a user