From 2627f4ba7fec035a313290972a5d593792f2a1cd Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Sun, 13 Sep 2020 18:40:35 -0400 Subject: [PATCH] missing ?? when converted from Array::value --- CRM/Contribute/Form/Contribution/Confirm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index a9a2988d4d..93a210a553 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -485,7 +485,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr $fieldTypes[] = CRM_Core_BAO_UFGroup::getContactType($this->_values['honoree_profile_id']); $this->buildCustom($this->_values['honoree_profile_id'], 'honoreeProfileFields', TRUE, 'honor', $fieldTypes); } - $this->assign('receiptFromEmail', $this->_values['receipt_from_email']); + $this->assign('receiptFromEmail', $this->_values['receipt_from_email'] ?? NULL); $amount_block_is_active = $this->get('amount_block_is_active'); $this->assign('amount_block_is_active', $amount_block_is_active); -- 2.25.1