Index: branches/RC/core/units/pdf/pdf_helper.php =================================================================== diff -u -N -r10294 -r10432 --- branches/RC/core/units/pdf/pdf_helper.php (.../pdf_helper.php) (revision 10294) +++ branches/RC/core/units/pdf/pdf_helper.php (.../pdf_helper.php) (revision 10432) @@ -42,8 +42,7 @@ function BuildFromTemplate($template, $template_params = Array ()) { $this->Application->InitParser(); - $template_params['name'] = $template; - $xml = $this->Application->ParseBlock($template_params); + $xml = $this->Application->Parser->ParseTemplate($template, 1, $template_params); $xml_helper =& $this->Application->recallObject('kXMLHelper'); /* @var $xml_helper kXMLHelper */