mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
- bugfix plugins of merged subtemplates not loaded in 3.1.22-dev (forum topic 25508)
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
===== 3.1.22-dev ===== (xx.xx.2015)
|
||||
28.04.2015
|
||||
- bugfix plugins of merged subtemplates not loaded in 3.1.22-dev (forum topic 25508)
|
||||
|
||||
23.04.2015
|
||||
- bugfix a nocache template variable used as parameter at {insert} was by mistake cached
|
||||
|
||||
|
@@ -111,7 +111,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
/**
|
||||
* smarty version
|
||||
*/
|
||||
const SMARTY_VERSION = '3.1.22-dev/19';
|
||||
const SMARTY_VERSION = '3.1.22-dev/20';
|
||||
|
||||
/**
|
||||
* define variable scopes
|
||||
|
@@ -211,6 +211,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase
|
||||
}
|
||||
$compiler->parent_compiler->mergedSubTemplatesCode[$tpl->properties['unifunc']] = $compiled_code;
|
||||
$has_compiled_template = true;
|
||||
$compiler->template->required_plugins = array_merge_recursive($compiler->template->required_plugins, $tpl->required_plugins);
|
||||
unset ($tpl);
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user