From 5b514e83d50250f2c0bbaca2cc1f16a0822b0686 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Wed, 8 Nov 2023 17:06:08 +0000 Subject: [PATCH] Switch to non deprecated functions --- CRM/Utils/PDF/Utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index 400988f31e..decc1b39ea 100644 --- 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_paper($paper_size, $orientation); - $dompdf->load_html($html); + $dompdf->setPaper($paper_size, $orientation); + $dompdf->loadHtml($html); $dompdf->render(); if ($output) { -- 2.25.1