Преглед изворни кода

Fix export pdf in custom certificate see BT#14143

jmontoyaa пре 6 година
родитељ
комит
bb9770c4f7
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      plugin/customcertificate/src/print_certificate.php

+ 2 - 1
plugin/customcertificate/src/print_certificate.php

@@ -455,7 +455,8 @@ $params = [
 ];
 
 $pdf = new PDF($params['format'], $params['orientation'], $params);
-$pdf->content_to_pdf($htmlText, '', $fileName, null, 'I', false, null, false, true, false);
+$pdf->content_to_pdf($htmlText, '', $fileName, null, 'D', false, null, false, false, false);
+exit;
 
 function getIndexFiltered($index)
 {