diff --git a/cdntaxreceipts.functions.inc b/cdntaxreceipts.functions.inc index f5dea08228a7f363f292047837d128105453f7e2..ec793a1e52c105513dd8cec26f51f273bb9bfc7c 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/';