From d4b2ab5f88646726d47ed6e2faf47dca5c747b6f Mon Sep 17 00:00:00 2001 From: Kevin Cristiano Date: Sat, 13 May 2017 08:15:22 -0500 Subject: [PATCH] CRM-15067 fix formatting issues ---------------------------------------- * CRM-15067: Email should appear in the profile in which it is included, rather than always at the top of contribution page https://issues.civicrm.org/jira/browse/CRM-15067 --- CRM/Contribute/Form/Contribution/Main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index 0040fe9e15..2187147acd 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -270,8 +270,8 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu ($val['html_type'] == 'CheckBox' && !isset($this->_defaults[$priceFieldName][$keys])) )) { - CRM_Price_BAO_PriceSet::setDefaultPriceSetField($priceFieldName, $keys, $val['html_type'], $this->_defaults); - $memtypeID = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceFieldValue', $this->_defaults[$priceFieldName], 'membership_type_id'); + CRM_Price_BAO_PriceSet::setDefaultPriceSetField($priceFieldName, $keys, $val['html_type'], $this->_defaults); + $memtypeID = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceFieldValue', $this->_defaults[$priceFieldName], 'membership_type_id'); } } } -- 2.25.1