From c51ee8e27ff3cedb4f6c55f1010456c7814c30f3 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Tue, 24 Sep 2013 19:53:36 +0530 Subject: [PATCH] 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 --- CRM/Contribute/Form/Contribution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/Contribution.php b/CRM/Contribute/Form/Contribution.php index b1748f9254..fe7fb48905 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -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'; -- 2.25.1