Fix issue with email sent message displayed when checkbox has not been clicked in...
authorNicolas Ganivet <nicolas@cividesk.com>
Tue, 21 Jun 2016 15:50:44 +0000 (09:50 -0600)
committerNicolas Ganivet <nicolas@cividesk.com>
Wed, 22 Jun 2016 03:24:24 +0000 (21:24 -0600)
CRM/Member/Form/Membership.php

index e0487d928b12b4248b85e79f5e3086376fa801ee..1bfce14a6d845592cf445bb32acea189cf32953e 100644 (file)
@@ -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));
       }
     }