mirror of
https://github.com/smarty-php/smarty.git
synced 2025-12-04 00:09:27 +01:00
- fix on nocache code in child {block} tags
This commit is contained in:
@@ -58,7 +58,7 @@ class Smarty_Internal_Compile_Extend extends Smarty_Internal_CompileBase {
|
||||
// compile block content
|
||||
$_tpl = $this->smarty->createTemplate('string:' . $block_content,null,null,$template);
|
||||
$_tpl->template_filepath = $this->compiler->template->getTemplateFilepath();
|
||||
// $_tpl->suppressFileDependency = true;
|
||||
$_tpl->forceNocache= true;
|
||||
$_compiled_content = $_tpl->getCompiledTemplate();
|
||||
unset($_tpl);
|
||||
$_name = trim($_match[3], "\"'}");
|
||||
|
||||
Reference in New Issue
Block a user