From: k Date: Tue, 15 Mar 2016 17:27:13 +0000 (-0400) Subject: redoing some lost fixes during the last upgrade X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=eed68fe5f40243abd9d8e8608e46176b18af2b31;p=civicrm-core.git redoing some lost fixes during the last upgrade --- diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index e0487d928b..d3b9e26d30 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 (!empty($formValues['send_receipt']) && $receiptSend) { $statusMsg .= ' ' . ts('A confirmation and receipt has been sent to %1.', array(1 => $this->_contributorEmail)); } }