revert change of 19/11/2010 - bugfix on template inheritance. prefilter did not run over child blocks

It was no error
This commit is contained in:
uwe.tews@googlemail.com
2010-11-20 15:24:32 +00:00
parent 1c9f015135
commit 8e4cd21b3d
3 changed files with 1 additions and 11 deletions
@@ -102,10 +102,6 @@ class Smarty_Internal_Resource_Extends {
}
$_template->template_filepath = $_filepath;
$_content = file_get_contents($_filepath);
// run prefilter if required
if (isset($this->smarty->autoload_filters['pre']) || isset($this->smarty->registered_filters['pre'])) {
$_content = Smarty_Internal_Filter_Handler::runFilter('pre', $_content, $this->smarty, $compiler->template);
}
if ($_filepath != $_last) {
if (preg_match_all("!({$this->_ldl}block\s(.+?){$this->_rdl})!", $_content, $_open) !=
preg_match_all("!({$this->_ldl}/block{$this->_rdl})!", $_content, $_close)) {