$allMemberStatus = CRM_Member_PseudoConstant::membershipStatus();
$allContributionStatus = CRM_Contribute_PseudoConstant::contributionStatus();
- $lineItems = NULL;
- if (!empty($this->_lineItem)) {
- $lineItems = $this->_lineItem;
- }
-
if ($this->_id) {
$ids['membership'] = $params['id'] = $this->_id;
}
$result,
array(
'contact_id' => $this->_contributorContactID,
- 'line_item' => $lineItems,
+ 'line_item' => $lineItem,
'is_test' => $isTest,
'campaign_id' => CRM_Utils_Array::value('campaign_id', $paymentParams),
'contribution_page_id' => CRM_Utils_Array::value('contribution_page_id', $this->_params),