From 0b71718cac20688387f803cdb386075011c4b63c Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Mon, 1 Sep 2014 16:21:39 +0530 Subject: [PATCH] -- CRM-15206, fixed display of line item on edit contribution form ---------------------------------------- * CRM-15206: Edit Contribution form for Membership shows wrong line item https://issues.civicrm.org/jira/browse/CRM-15206 --- 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 5c98b55173..1a48047519 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -323,7 +323,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP $lineItem = CRM_Price_BAO_LineItem::getLineItems($this->_compId); } else { - $lineItem = CRM_Price_BAO_LineItem::getLineItems($this->_id, 'contribution', 1); + $lineItem = CRM_Price_BAO_LineItem::getLineItems($this->_id, 'contribution', 1, TRUE, TRUE); } empty($lineItem) ? NULL : $this->_lineItems[] = $lineItem; } -- 2.25.1