From: highfalutin Date: Thu, 17 Jun 2021 06:02:28 +0000 (-0700) Subject: replace unnecessary function call with string literal X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=19659b5a9e28a57b48e7d0ff905544ea62c57a85;p=civicrm-core.git replace unnecessary function call with string literal --- 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]); }