From 343ed83d528155d050d16379e6d236326222ac7a Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Wed, 18 Sep 2019 14:56:58 +0530 Subject: [PATCH] dev/core#1264 - Fix notice error on contribution page --- CRM/Contribute/BAO/Contribution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index bf3b53a599..f2995582e1 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -4690,7 +4690,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac // if we are still empty see if we can use anything from a contribution page. if (!empty($pageValues['receipt_from_email'])) { return [ - $pageValues['receipt_from_name'], + CRM_Utils_Array::value('receipt_from_name', $pageValues), $pageValues['receipt_from_email'], ]; } -- 2.25.1