Skip to content

Commit

Permalink
minor fix, CRM-12970
Browse files Browse the repository at this point in the history
----------------------------------------
* CRM-12970: civicrm_price_field_value not removed for discount price set
  http://issues.civicrm.org/jira/browse/CRM-12970
  • Loading branch information
kurund committed Aug 7, 2013
1 parent 6609499 commit a8ec090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Event/Form/ManageEvent/Fee.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function setDefaultValues() {
$defaults['discounted_label'][$colCount] = $discountFieldsval['label'];
$defaults['discounted_value'][$colCount][$rowCount] =
CRM_Utils_Money::format($discountFieldsval['amount'], NULL, '%a');
$defaults['discount_option_id'][$colCount][$rowCount]= $discountFieldsval['id'];
$defaults['discount_option_id'][$rowCount][$colCount] = $discountFieldsval['id'];
if (CRM_Utils_Array::value('is_default', $discountFieldsval)) {
$defaults['discounted_default'] = $discountFieldsval['weight'];
}
Expand Down

0 comments on commit a8ec090

Please sign in to comment.