projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20c4196
)
Switch to non deprecated functions
author
Matthew Wire
<mjw@mjwconsult.co.uk>
Wed, 8 Nov 2023 17:06:08 +0000
(17:06 +0000)
committer
Matthew Wire
<mjw@mjwconsult.co.uk>
Wed, 8 Nov 2023 17:06:45 +0000
(17:06 +0000)
CRM/Utils/PDF/Utils.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/PDF/Utils.php
b/CRM/Utils/PDF/Utils.php
index 400988f31ea0ac43fa8fd73d17c6740013286c87..decc1b39eabda89fa1fe5132c2ba646926adbb65 100644
(file)
--- a/
CRM/Utils/PDF/Utils.php
+++ b/
CRM/Utils/PDF/Utils.php
@@
-121,8
+121,8
@@
class CRM_Utils_PDF_Utils {
public static function _html2pdf_dompdf($paper_size, $orientation, $html, $output, $fileName) {
$options = self::getDompdfOptions();
$dompdf = new DOMPDF($options);
- $dompdf->set
_p
aper($paper_size, $orientation);
- $dompdf->load
_h
tml($html);
+ $dompdf->set
P
aper($paper_size, $orientation);
+ $dompdf->load
H
tml($html);
$dompdf->render();
if ($output) {