- fixed compile_id handling on {include} tags

This commit is contained in:
Uwe.Tews
2009-04-14 11:25:45 +00:00
parent 3d0b7663e2
commit 1970c0cbdb

View File

@@ -98,7 +98,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase {
} }
// was there an assign attribute // was there an assign attribute
if (isset($_assign)) { if (isset($_assign)) {
$_output .= "\$_smarty_tpl->assign($_assign,\$_smarty_tpl->smarty->fetch(\$_template); ?>"; $_output .= "\$_smarty_tpl->assign($_assign,\$_smarty_tpl->smarty->fetch(\$_template)); ?>";
} else { } else {
$_output .= "echo \$_smarty_tpl->smarty->fetch(\$_template); ?>"; $_output .= "echo \$_smarty_tpl->smarty->fetch(\$_template); ?>";
} }