From: jitendrapurohit Date: Tue, 20 Oct 2015 13:21:35 +0000 (+0530) Subject: warning fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1d9d5bd0647c0f1ae9da3eedda2c0a5b65616aa3;p=civicrm-core.git warning fixes --- diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index edaa62f79f..735544f20f 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -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 {