- bugfix replace modifier did not work in 3.0.7 on systems without multibyte support

- bugfix {$smarty.template} could return in 3.0.7 parent template name instead of 
         child name when it needed to compile
This commit is contained in:
uwe.tews@googlemail.com
2011-03-01 19:47:44 +00:00
parent e583777976
commit fe26cf256e
4 changed files with 15 additions and 6 deletions

View File

@@ -101,7 +101,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase {
$_caching = Smarty::CACHING_OFF;
}
// default for included templates
if ($this->compiler->template->caching && !$this->compiler->nocache && !$this->compiler->tag_nocache) {
if ($compiler->template->caching && !$this->compiler->nocache && !$this->compiler->tag_nocache) {
$_caching = self::CACHING_NOCACHE_CODE;
}
/*