CRM-12233 Label for newly create quick config price fields for membership block shoul...
authorDave Greenberg <dave@civicrm.org>
Tue, 2 Apr 2013 20:19:31 +0000 (13:19 -0700)
committerDave Greenberg <dave@civicrm.org>
Tue, 2 Apr 2013 20:19:31 +0000 (13:19 -0700)
----------------------------------------
* CRM-12233: Online membership signup - contribution amounts field should not be required + various notices
  http://issues.civicrm.org/jira/browse/CRM-12233

CRM/Member/Form/MembershipBlock.php

index 63f298c2fe901817a249781a66dde3c58522bf19..35da0c076e02cceaaf241912be6f9dec7b1de518 100644 (file)
@@ -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));
           }