CRM-17427 fix constant casing
authorBrian Shaughnessy <brian@lcdservices.biz>
Fri, 18 Dec 2015 03:10:19 +0000 (22:10 -0500)
committerBrian Shaughnessy <brian@lcdservices.biz>
Fri, 18 Dec 2015 03:10:19 +0000 (22:10 -0500)
CRM/Member/Form/Membership.php

index 60523e2544bab9a2ad7257770aaa8a4b7a2c1b45..059d6cb70c11f0e4a11a6c0086df0a03dd30b3cd 100644 (file)
@@ -1701,7 +1701,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form {
       }
     }
 
-    $receiptSent = false;
+    $receiptSent = FALSE;
     if (!empty($formValues['send_receipt']) && $receiptSend) {
       $formValues['contact_id'] = $this->_contactID;
       $formValues['contribution_id'] = $contributionId;
@@ -1712,7 +1712,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form {
       // send email receipt
       $this->assignBillingName();
       $mailSend = self::emailReceipt($this, $formValues, $membership);
-      $receiptSent = true;
+      $receiptSent = TRUE;
     }
 
     // finally set membership id if already not set