Index: branches/unlabeled/unlabeled-1.155.2/core/kernel/application.php =================================================================== diff -u -r5726 -r5731 --- branches/unlabeled/unlabeled-1.155.2/core/kernel/application.php (.../application.php) (revision 5726) +++ branches/unlabeled/unlabeled-1.155.2/core/kernel/application.php (.../application.php) (revision 5731) @@ -644,7 +644,6 @@ if (!$this->RequestProcessed) $this->ProcessRequest(); $this->InitParser(); - $this->TemplatesCache =& $this->recallObject('TemplatesCache'); $t = $this->GetVar('t'); if ($this->isModuleEnabled('In-CMS')) { @@ -670,7 +669,10 @@ function InitParser() { - if( !is_object($this->Parser) ) $this->Parser =& $this->recallObject('TemplateParser'); + if( !is_object($this->Parser) ) { + $this->Parser =& $this->recallObject('TemplateParser'); + $this->TemplatesCache =& $this->recallObject('TemplatesCache'); + } } /**