浏览代码

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)
 {