Index: branches/5.0.x/core/units/pdf/pdf_helper.php =================================================================== diff -u -r12299 -r12323 --- branches/5.0.x/core/units/pdf/pdf_helper.php (.../pdf_helper.php) (revision 12299) +++ branches/5.0.x/core/units/pdf/pdf_helper.php (.../pdf_helper.php) (revision 12323) @@ -1,6 +1,6 @@ Application->InitParser(); - $xml = $this->Application->Parser->ParseTemplate($template, 1, $template_params); + + $this->Application->Parser->SetParams($template_params); + $xml = $this->Application->Parser->Run($template); + $xml_helper =& $this->Application->recallObject('kXMLHelper'); /* @var $xml_helper kXMLHelper */