From 3dacb61d98c78aadc97e9f42ca0354ff4d33c924 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Wed, 1 May 2019 06:32:52 -0400 Subject: [PATCH] Event Cart: fix sending of email receipts --- CRM/Event/Cart/Form/Checkout/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Cart/Form/Checkout/Payment.php b/CRM/Event/Cart/Form/Checkout/Payment.php index d6906fd94c..9338bc9563 100644 --- a/CRM/Event/Cart/Form/Checkout/Payment.php +++ b/CRM/Event/Cart/Form/Checkout/Payment.php @@ -351,7 +351,7 @@ class CRM_Event_Cart_Form_Checkout_Payment extends CRM_Event_Cart_Form_Cart { $send_template_params = [ 'table' => 'civicrm_msg_template', 'contactId' => $this->payer_contact_id, - 'from' => CRM_Core_BAO_Domain::getNameAndEmail(TRUE, TRUE), + 'from' => current(CRM_Core_BAO_Domain::getNameAndEmail(TRUE, TRUE)), 'groupName' => 'msg_tpl_workflow_event', 'isTest' => FALSE, 'toEmail' => $contact_details[1], -- 2.25.1