Skip to content

Commit

Permalink
[NFC] Fix camelCase variable name following fix for dev/core#1435
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Dec 3, 2019
1 parent a43ea4b commit 0b541cd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CRM/Contribute/Form/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ public function preProcess() {

parent::preProcess();


$this->_queryParams = CRM_Contact_BAO_Query::convertFormValues($this->_formValues);
$selector = new CRM_Contribute_Selector_Search($this->_queryParams,
$this->_action,
Expand Down Expand Up @@ -125,9 +124,9 @@ public function setDefaultValues() {

// 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)) {
Expand Down

0 comments on commit 0b541cd

Please sign in to comment.