This commit is contained in:
Uwe Tews
2015-02-08 21:36:32 +01:00
parent b2b114d5b8
commit d288e58692

View File

@@ -40,7 +40,7 @@ class Smarty_Internal_Extension_CodeFrame
$output .= "if (isset(\$_smarty_tpl)) {\n"; $output .= "if (isset(\$_smarty_tpl)) {\n";
$output .= "\$_valid = \$_smarty_tpl->decodeProperties(" . var_export($_template->properties, true) . ',' . ($cache ? 'true' : 'false') . ");\n"; $output .= "\$_valid = \$_smarty_tpl->decodeProperties(" . var_export($_template->properties, true) . ',' . ($cache ? 'true' : 'false') . ");\n";
$output .= "} else {\n"; $output .= "} else {\n";
$output .= "\$_valid = false;\n" $output .= "\$_valid = false;\n";
$output .= "}\n"; $output .= "}\n";
$output .= "/*/%%SmartyHeaderCode%%*/\n"; $output .= "/*/%%SmartyHeaderCode%%*/\n";
$output .= "if (\$_valid && !is_callable('{$_template->properties['unifunc']}')) {function {$_template->properties['unifunc']} (\$_smarty_tpl) {\n"; $output .= "if (\$_valid && !is_callable('{$_template->properties['unifunc']}')) {function {$_template->properties['unifunc']} (\$_smarty_tpl) {\n";