[NFC] Fix camelCase variable name following fix for dev/core#1435
authorSeamus Lee <seamuslee001@gmail.com>
Tue, 3 Dec 2019 19:19:47 +0000 (06:19 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 3 Dec 2019 19:53:52 +0000 (06:53 +1100)
CRM/Contribute/Form/Search.php

index 018622a615029b9f19906a4553437e489ba598b1..3f780e8323fc3e18319afb71f43499d956b2f893 100644 (file)
@@ -70,7 +70,6 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
 
     parent::preProcess();
 
-
     $this->_queryParams = CRM_Contact_BAO_Query::convertFormValues($this->_formValues);
     $selector = new CRM_Contribute_Selector_Search($this->_queryParams,
       $this->_action,
@@ -125,9 +124,9 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
 
     // The membership or contribution id could be set on the form if viewing
     // an embedded block on ParticipantView or MembershipView.
-    $memberShipId = CRM_Utils_Request::retrieve('memberId', 'Positive', $this);
-    if (isset($memberShipId)) {
-      $this->_defaults['contribution_membership_id'] = $memberShipId;
+    $membershipId = CRM_Utils_Request::retrieve('memberId', 'Positive', $this);
+    if (isset($membershipId)) {
+      $this->_defaults['contribution_membership_id'] = $membershipId;
     }
     $participantId = CRM_Utils_Request::retrieve('participantId', 'Positive', $this);
     if (isset($participantId)) {