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