From 8a864537cfefe9f8c41d65316538265872844c6d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Frank=20J=2E=20G=C3=B3mez?= Date: Tue, 29 Apr 2014 18:35:10 -0700 Subject: [PATCH] Code clean-up. Initialized variables. Removed unused variables. --- CRM/Contribute/Form/Contribution/Main.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index 15f5f46975..a70416e1ac 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -1080,8 +1080,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu $priceField->orderBy('weight'); $priceField->find(); - $check = array(); - $otherAmount = FALSE; + $values = array(); while ($priceField->fetch()) { CRM_Price_BAO_PriceFieldValue::getValues($priceField->id, $values); if ($priceField->name == 'membership_amount') { -- 2.25.1