From fdfc7c05b253be7b40d0c2e3a2a49774f9109793 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Frank=20J=2E=20G=C3=B3mez?= Date: Tue, 29 Apr 2014 19:07:42 -0700 Subject: [PATCH] Resolve PHP notices. --- CRM/Contribute/Form/Contribution/Confirm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index f98081eb59..20c6b66c7b 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -178,8 +178,8 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr // contribution amount to be null, so that it will not show // contribution amount same as membership amount. if ($this->_membershipBlock['is_separate_payment'] - && $this->_values['fee'][$priceField->id]['name'] == 'contribution_amount' - && $this->_params["price_{$priceField->id}"] == '-1' + && CRM_Utils_Array::value('name', $this->_values['fee'][$priceField->id]) == 'contribution_amount' + && CRM_Utils_Array::value("price_{$priceField->id}", $this->_params) == '-1' ) { $this->_params['amount'] = null; } -- 2.25.1