Skip to content
Snippets Groups Projects
Commit c51ee8e2 authored by Pradeep Nayak's avatar Pradeep Nayak
Browse files

CRM-13421, fixed lineitem array for mail template for event

----------------------------------------
* CRM-13421: Off-line Contribution Receipt Line-Items Garbled
  http://issues.civicrm.org/jira/browse/CRM-13421
parent bcaf9194
No related branches found
No related tags found
No related merge requests found
......@@ -1046,7 +1046,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
);
CRM_Event_BAO_Participant::add($participantParams);
if (empty($this->_lineItems)) {
$this->_lineItems = CRM_Price_BAO_LineItem::getLineItems($entityID, 'participant',1);
$this->_lineItems[] = CRM_Price_BAO_LineItem::getLineItems($entityID, 'participant', 1);
}
} else {
$entityTable = 'contribution';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment