XMLREADER: to_pdf doesn't require a DB conx

This commit is contained in:
sparkyx 2025-12-05 10:47:49 +01:00
parent 929519f122
commit d070ebe1c2
2 changed files with 7 additions and 6 deletions

View file

@ -322,7 +322,7 @@ class Acc_Document extends Document {
{
// create a PDF with standard information
$pdf=$xmlreader->to_pdf($this->db);
$pdf=$xmlreader->to_pdf();
$file_oid=$this->db->lo_write($pdf->Output("S"));
//@var $file_oid OID of the large object saved in DB