Index: trunk/core/kernel/parser/construct_tags.php =================================================================== diff -u -N -r5547 -r6093 --- trunk/core/kernel/parser/construct_tags.php (.../construct_tags.php) (revision 5547) +++ trunk/core/kernel/parser/construct_tags.php (.../construct_tags.php) (revision 6093) @@ -198,10 +198,8 @@ $template = new Template(); $template->SetBody($this->Parser->GetBuffer()); - $templates_cache =& $this->Application->recallObject('TemplatesCache'); - //Adding template to application' cache - $templates_cache->SetTemplate($this->BlockName, $template, $this->Parser->TemplateName); + $this->Application->TemplatesCache->SetTemplate($this->BlockName, $template, $this->Parser->TemplateName); if (defined('EXPERIMENTAL_PRE_PARSE')) { $code = $this->Parser->GetCode(); @@ -212,7 +210,7 @@ $this->Parser->UsedProcessors = null;*/ array_unshift($code, '$o = \'\';'); - array_unshift($code, '$application->Parser->SetParams($params);'); + array_unshift($code, '$application->Parser->SetParams($params, false);'); array_unshift($code, '$application =& kApplication::Instance();'); array_unshift($code, 'extract($params);');