From 19659b5a9e28a57b48e7d0ff905544ea62c57a85 Mon Sep 17 00:00:00 2001 From: highfalutin Date: Wed, 16 Jun 2021 23:02:28 -0700 Subject: [PATCH] replace unnecessary function call with string literal --- CRM/Member/Form/MembershipBlock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/Form/MembershipBlock.php b/CRM/Member/Form/MembershipBlock.php index 99ef355617..352ad1d0c4 100644 --- a/CRM/Member/Form/MembershipBlock.php +++ b/CRM/Member/Form/MembershipBlock.php @@ -386,7 +386,7 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa $editedResults = []; CRM_Price_BAO_PriceField::retrieve($editedFieldParams, $editedResults); if (empty($editedResults['id'])) { - $fieldParams['name'] = strtolower(CRM_Utils_String::munge('Membership Amount', '_', 245)); + $fieldParams['name'] = 'membership_amount'; if (empty($params['mem_price_field_id'])) { CRM_Utils_Weight::updateOtherWeights('CRM_Price_DAO_PriceField', 0, 1, ['price_set_id' => $priceSetID]); } -- 2.25.1