Index: branches/5.2.x/core/units/pdf/pdf_helper.php =================================================================== diff -u -N -r13840 -r14092 --- branches/5.2.x/core/units/pdf/pdf_helper.php (.../pdf_helper.php) (revision 13840) +++ branches/5.2.x/core/units/pdf/pdf_helper.php (.../pdf_helper.php) (revision 14092) @@ -1,6 +1,6 @@ Application->InitParser(); $this->Application->Parser->SetParams($template_params); - $xml = $this->Application->Parser->Run($template); + if ($is_content) { + $xml = $this->Application->Parser->Parse($template); + } + else { + $xml = $this->Application->Parser->Run($template); + } + $xml_helper =& $this->Application->recallObject('kXMLHelper'); /* @var $xml_helper kXMLHelper */