- fixed nocache vars at internal block tags

This commit is contained in:
uwe.tews
2009-10-24 08:41:54 +00:00
parent 4914c90e9a
commit f88b868d5a
12 changed files with 50 additions and 14 deletions

View File

@@ -25,8 +25,9 @@ class Smarty_Internal_Compile_Sectionelse extends Smarty_Internal_CompileBase {
// check and get attributes
$_attr = $this->_get_attributes($args);
$this->_close_tag('section');
$this->_open_tag('sectionelse');
list($_open_tag, $this->compiler->nocache) = $this->_close_tag(array('section'));
$this->_open_tag('sectionelse',array('sectionelse', $this->compiler->nocache));
return "<?php endfor; else: ?>";
}
}