warning fixes
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 20 Oct 2015 13:21:35 +0000 (18:51 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 20 Oct 2015 13:21:35 +0000 (18:51 +0530)
CRM/Contribute/Form/Contribution/Main.php

index edaa62f79f31432a2f4fe289d8a8b6d10bcc5a5d..735544f20fd6549f1d1a70fefe0eb7a500494c22 100644 (file)
@@ -238,7 +238,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
             }
           }
         }
-        $memtypeID = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceFieldValue', $this->_defaults[$priceFieldName] , 'membership_type_id');
+        $memtypeID = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceFieldValue', $this->_defaults[$priceFieldName], 'membership_type_id');
         $entityId = CRM_Utils_Array::value('id', CRM_Member_BAO_Membership::getContactMembership($contactID, $memtypeID, NULL));
       }
       else {