From 8f99da33c3043aca1fe6d549969e8e7fd8e86d33 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 18 Aug 2021 11:02:18 +1200 Subject: [PATCH] Enotice fixes in tpl --- CRM/Member/Form/Membership.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 2e10474e6d00..7e9c28faeb04 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -629,10 +629,9 @@ public function buildQuickForm() { // Retrieve the name and email of the contact - this will be the TO for receipt email if ($this->_contactID) { [$this->_memberDisplayName, $this->_memberEmail] = CRM_Contact_BAO_Contact_Location::getEmailDetails($this->_contactID); - - $this->assign('emailExists', $this->_memberEmail); - $this->assign('displayName', $this->_memberDisplayName); } + $this->assign('emailExists', $this->_memberEmail); + $this->assign('displayName', $this->_memberDisplayName); if ($isUpdateToExistingRecurringMembership && CRM_Member_BAO_Membership::isCancelSubscriptionSupported($this->_id)) { $this->assign('cancelAutoRenew',