From 0b541cd645ce71a0a992eea04d0a95653eacc07a Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Wed, 4 Dec 2019 06:19:47 +1100 Subject: [PATCH] [NFC] Fix camelCase variable name following fix for dev/core#1435 --- CRM/Contribute/Form/Search.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CRM/Contribute/Form/Search.php b/CRM/Contribute/Form/Search.php index 018622a615..3f780e8323 100644 --- a/CRM/Contribute/Form/Search.php +++ b/CRM/Contribute/Form/Search.php @@ -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)) { -- 2.25.1