From a8ec0901625fd3c2d6c4199ab547af3420a82945 Mon Sep 17 00:00:00 2001 From: kurund Date: Wed, 7 Aug 2013 23:31:23 +0530 Subject: [PATCH] minor fix, CRM-12970 ---------------------------------------- * CRM-12970: civicrm_price_field_value not removed for discount price set http://issues.civicrm.org/jira/browse/CRM-12970 --- CRM/Event/Form/ManageEvent/Fee.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/ManageEvent/Fee.php b/CRM/Event/Form/ManageEvent/Fee.php index f82e835d80..1b51f07bc0 100644 --- a/CRM/Event/Form/ManageEvent/Fee.php +++ b/CRM/Event/Form/ManageEvent/Fee.php @@ -152,7 +152,7 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { $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']; } -- 2.25.1