Index: branches/5.1.x/core/units/pdf/pdf_helper.php =================================================================== diff -u -N -r12127 -r12657 --- branches/5.1.x/core/units/pdf/pdf_helper.php (.../pdf_helper.php) (revision 12127) +++ branches/5.1.x/core/units/pdf/pdf_helper.php (.../pdf_helper.php) (revision 12657) @@ -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 */ @@ -1004,4 +1009,4 @@ $this->SetCSSProperty('padding-bottom', '0'); } -} +} \ No newline at end of file