Commit 552f7eca authored by DaveD's avatar DaveD
Browse files

php8 deprecation

parent 5f5b10d3
...@@ -46,7 +46,7 @@ require_once('FPDI/src/autoload.php'); ...@@ -46,7 +46,7 @@ require_once('FPDI/src/autoload.php');
* *
* This method is common to both single and annual receipts. * 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 // Get contact details
list($displayname, $email) = CRM_Contact_BAO_Contact::getContactDetails($receipt['contact_id']); list($displayname, $email) = CRM_Contact_BAO_Contact::getContactDetails($receipt['contact_id']);
...@@ -178,7 +178,7 @@ function cdntaxreceipts_processTaxReceipt($receipt, &$collectedPdf = NULL, $mode ...@@ -178,7 +178,7 @@ function cdntaxreceipts_processTaxReceipt($receipt, &$collectedPdf = NULL, $mode
* This function should always be called through processTaxReceipt(). It is imperative * This function should always be called through processTaxReceipt(). It is imperative
* that each receipt generated by the system gets logged and archived properly. * 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/'; $pdf_img_files_path = dirname(__FILE__) . '/img/';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment