parent::preProcess();
-
$this->_queryParams = CRM_Contact_BAO_Query::convertFormValues($this->_formValues);
$selector = new CRM_Contribute_Selector_Search($this->_queryParams,
$this->_action,
// 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)) {