From 80673b70411e6320f5e8ff38c1f2a7494727f97c Mon Sep 17 00:00:00 2001 From: yashodha Date: Mon, 6 May 2013 11:09:04 +0530 Subject: [PATCH] notice fix --- 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 91eebcd0fa..b9b36cb4eb 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -1133,7 +1133,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP if ($val && $submittedValues['soft_credit_amount'][$key]) { $softParams[$key]['contact_id'] = $val; $softParams[$key]['amount'] = $submittedValues['soft_credit_amount'][$key]; - if ($submittedValues['soft_credit_id'][$key]) { + if (!empty($submittedValues['soft_credit_id'][$key])) { $softParams[$key]['id'] = $submittedValues['soft_credit_id'][$key]; } } -- 2.25.1