From 01e72fbcbeab21072d1b23f0ebe0804919e0aa94 Mon Sep 17 00:00:00 2001 From: Dan Cruson Date: Fri, 1 Aug 2014 13:50:43 -0400 Subject: [PATCH] Update Contribution.php Fix regression that was causing Event Resets with Offline Contributions to be garbled. Detailed in CRM-15069 --- 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 4063922d82..c47304b8b7 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -1066,7 +1066,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 { -- 2.25.1