From: Pradeep Nayak Date: Mon, 1 Sep 2014 10:51:39 +0000 (+0530) Subject: -- CRM-15206, fixed display of line item on edit contribution form X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0b71718cac20688387f803cdb386075011c4b63c;p=civicrm-core.git -- 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 --- 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; }