From: Dave Greenberg Date: Tue, 2 Apr 2013 20:19:31 +0000 (-0700) Subject: CRM-12233 Label for newly create quick config price fields for membership block shoul... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a49ce581ceae0370b843e5465bdcbd81dbd3313f;p=civicrm-core.git CRM-12233 Label for newly create quick config price fields for membership block should be Membership, not Membership Amount. Leaving the price_field.name as membership_amount since that's clearer as a machine name. ---------------------------------------- * CRM-12233: Online membership signup - contribution amounts field should not be required + various notices http://issues.civicrm.org/jira/browse/CRM-12233 --- diff --git a/CRM/Member/Form/MembershipBlock.php b/CRM/Member/Form/MembershipBlock.php index 63f298c2fe..35da0c076e 100644 --- a/CRM/Member/Form/MembershipBlock.php +++ b/CRM/Member/Form/MembershipBlock.php @@ -371,7 +371,7 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa CRM_Price_BAO_Field::retrieve($editedFieldParams, $editedResults); if (!CRM_Utils_Array::value('id', $editedResults)) { $fieldParams['name'] = strtolower(CRM_Utils_String::munge('Membership Amount', '_', 245)); - $fieldParams['label'] = CRM_Utils_Array::value('new_title', $params) ? $params['new_title'] : ts('Membership Amount'); + $fieldParams['label'] = CRM_Utils_Array::value('new_title', $params) ? $params['new_title'] : ts('Membership'); if (!CRM_Utils_Array::value('mem_price_field_id', $params)) { CRM_Utils_Weight::updateOtherWeights('CRM_Price_DAO_Field', 0, 1, array('price_set_id' => $priceSetID)); }