This commit is contained in:
Uwe.Tews
2009-11-09 21:50:11 +00:00
parent 039d9044da
commit 60601acc25

View File

@@ -68,7 +68,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase {
$compiler->template->properties['file_dependency'] = array_merge($compiler->template->properties['file_dependency'], $prop['file_dependency']);
}
if (isset($prop['function'])) {
$compiler->template->properties['function'] = array_merge($compiler->template->properties['function'], $prop['function']);
$compiler->template->properties['function'] = array_merge((array)$compiler->template->properties['function'], $prop['function']);
}
$has_compiled_template = true;
}