From 4af62407f1045116241dfae122209cac9f1021cf Mon Sep 17 00:00:00 2001 From: Nicolas Ganivet Date: Tue, 21 Jun 2016 09:50:44 -0600 Subject: [PATCH] Fix issue with email sent message displayed when checkbox has not been clicked in back-end membership edit screen. --- CRM/Member/Form/Membership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index e0487d928b..1bfce14a6d 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -1678,7 +1678,7 @@ WHERE id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )'; $endDate = CRM_Utils_Date::customFormat($endDate); $statusMsg .= ' ' . ts('The membership End Date is %1.', array(1 => $endDate)); } - if ($receiptSend) { + if ($mailSend) { $statusMsg .= ' ' . ts('A confirmation and receipt has been sent to %1.', array(1 => $this->_contributorEmail)); } } -- 2.25.1