CRM-15282
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 15 Sep 2014 09:50:53 +0000 (15:20 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 15 Sep 2014 09:50:53 +0000 (15:20 +0530)
CRM/Contribute/Form/Contribution/Confirm.php

index b6fb07258ae5e0131986c597705fd88a91edd6cd..0d23c3bbd6b031660fba92de1f4bef8136c71e85 100644 (file)
@@ -1775,9 +1775,9 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
     $priceField->price_set_id = $priceSetID;
     $priceField->orderBy('weight');
     $priceField->find();
+    $paramWeDoNotUnderstand = NULL;
 
     while ($priceField->fetch()) {
-      $paramWeDoNotUnderstand = NULL;
       if ($priceField->name == "contribution_amount") {
         $paramWeDoNotUnderstand = $priceField->id;
       }