CRM-16044 - Fix two code style errors.
authorLola Slade <lola@freeform.ca>
Wed, 1 Apr 2015 16:15:55 +0000 (12:15 -0400)
committerLola Slade <lola@freeform.ca>
Sat, 25 Apr 2015 23:17:57 +0000 (17:17 -0600)
CRM/Member/Form/Membership.php

index 7967402dd5bc81302db31717e58b852b7fe451a9..3e65fbe17f876ba742e21af6f1c70456d8386d02 100644 (file)
@@ -1427,7 +1427,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
       }
       // do what used to happen previously
       else {
-      $params['contribution_status_id'] = !empty($paymentParams['is_recur']) ? 2 : 1;
+        $params['contribution_status_id'] = !empty($paymentParams['is_recur']) ? 2 : 1;
       }
       if ($params['contribution_status_id'] != array_search('Completed', $allContributionStatus)) {
         $params['status_id'] = array_search('Pending', $allMemberStatus);
@@ -1647,7 +1647,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
       $contributionDetails = CRM_Contribute_BAO_Contribution::getContributionDetails(
         CRM_Export_Form_Select::MEMBER_EXPORT, $this->_membershipIDs);
       if ($contributionDetails[$membership->id]['contribution_status'] == 'Completed') {
-      $receiptSend = TRUE;
+        $receiptSend = TRUE;
       }
     }