From a50735e74ba61b333366aef36784fc33311fbc7e Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Thu, 19 Mar 2015 15:28:12 +0530 Subject: [PATCH] -- CRM-16015, fixed notice error ---------------------------------------- * CRM-16015: line_item table should be updated when contribution financial type is changed. https://issues.civicrm.org/jira/browse/CRM-16015 --- 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 00de7c927a..adb833f249 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -1044,7 +1044,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP $isRelatedId = TRUE; } elseif (array_key_exists('participant', $contributionDetails)) { - $pId = current($contributionDetails['participant']); + $pId = $contributionDetails['participant']; } } } -- 2.25.1