RT #1059613
authork054 <kosa@riseup.net>
Sat, 26 Dec 2015 02:49:41 +0000 (21:49 -0500)
committerk054 <kosa@riseup.net>
Sat, 26 Dec 2015 02:49:41 +0000 (21:49 -0500)
CRM/Member/Form/Membership.php

index 73f5a1b2ef31cda63731f49c8558917dbed29dbf..178f714fd6011b608de73b7bfaccd25f40dbb3e1 100644 (file)
@@ -1758,7 +1758,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form {
       $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));
     }
     return $statusMsg;