mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 19:34:27 +02:00
- bugfix for {function} block tags in included templates
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
11/09/2009
|
||||
- lexer/parser bugfix
|
||||
- new SMARTY_SPL_AUTOLOAD constant to control the autoloader option
|
||||
- bugfix for {function} block tags in included templates
|
||||
|
||||
11/08/2009
|
||||
- fixed alphanumeric array index
|
||||
|
@@ -64,8 +64,8 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase {
|
||||
}
|
||||
}
|
||||
} while ($must_compile);
|
||||
if (isset($prop['file_dependency'])) {
|
||||
$compiler->template->properties['file_dependency'] = array_merge($compiler->template->properties['file_dependency'], $prop['file_dependency']);
|
||||
if (isset($prop)) {
|
||||
$compiler->template->properties = array_merge($compiler->template->properties, $prop);
|
||||
}
|
||||
$has_compiled_template = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user