From 552f7eca49ae72f1513e06f21d464bea4ae70cdb Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 27 Dec 2021 13:41:09 -0500 Subject: [PATCH] php8 deprecation --- cdntaxreceipts.functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdntaxreceipts.functions.inc b/cdntaxreceipts.functions.inc index f5dea08..ec793a1 100644 --- a/cdntaxreceipts.functions.inc +++ b/cdntaxreceipts.functions.inc @@ -46,7 +46,7 @@ require_once('FPDI/src/autoload.php'); * * This method is common to both single and annual receipts. */ -function cdntaxreceipts_processTaxReceipt($receipt, &$collectedPdf = NULL, $mode, $method = NULL) { +function cdntaxreceipts_processTaxReceipt($receipt, &$collectedPdf = NULL, $mode = NULL, $method = NULL) { // Get contact details list($displayname, $email) = CRM_Contact_BAO_Contact::getContactDetails($receipt['contact_id']); @@ -178,7 +178,7 @@ function cdntaxreceipts_processTaxReceipt($receipt, &$collectedPdf = NULL, $mode * This function should always be called through processTaxReceipt(). It is imperative * that each receipt generated by the system gets logged and archived properly. */ -function cdntaxreceipts_generateFormattedReceipt($receipt, &$collectedPdf = NULL, $mode) { +function cdntaxreceipts_generateFormattedReceipt($receipt, &$collectedPdf = NULL, $mode = NULL) { $pdf_img_files_path = dirname(__FILE__) . '/img/'; -- GitLab