- bugfix on template inheritance for tag names starting with "block"

- bugfix on {function} tag with name attribute in doublequoted strings
This commit is contained in:
Uwe.Tews
2010-04-30 18:11:34 +00:00
parent ace9d4fe5e
commit 0920b383c6
4 changed files with 7 additions and 5 deletions
@@ -63,7 +63,7 @@ class Smarty_Internal_Compile_Functionclose extends Smarty_Internal_CompileBase
$this->compiler->has_code = false;
$_attr = $this->_get_attributes($args);
$saved_data = $this->_close_tag(array('function'));
$_name = trim($saved_data[0]['name'], "'");
$_name = trim($saved_data[0]['name'], "'\"");
// build plugin include code
$plugins_string = '';
if (!empty($compiler->template->required_plugins['compiled'])) {