Skip to content

Commit

Permalink
CRM-15067 fix formatting issues
Browse files Browse the repository at this point in the history
----------------------------------------
* 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
  • Loading branch information
kcristiano committed May 13, 2017
1 parent 0c7c9ff commit d4b2ab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Contribute/Form/Contribution/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ public function setDefaultValues() {
($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');
}
}
}
Expand Down

0 comments on commit d4b2ab5

Please sign in to comment.