From 5f10597902b13ae8a650dbd2326232ea09e8691d Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Fri, 25 Nov 2022 17:27:52 +0000 Subject: [PATCH] fixed the typo --- CRM/Price/BAO/PriceField.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Price/BAO/PriceField.php b/CRM/Price/BAO/PriceField.php index 108c15032446..163f553eab37 100644 --- a/CRM/Price/BAO/PriceField.php +++ b/CRM/Price/BAO/PriceField.php @@ -382,7 +382,7 @@ public static function addQuickFormElement( foreach ($customOption as $opId => $opt) { $preHelpText = $postHelpText = ''; - $opt['label'] = !empty($opt['label']) ? $opt['label'] . '' . $opt['label'] . '' : ''; + $opt['label'] = !empty($opt['label']) ? '' . $opt['label'] . '' : ''; if (!empty($opt['help_pre'])) { $preHelpText = '' . $opt['help_pre'] . ''; } @@ -567,7 +567,7 @@ public static function addQuickFormElement( $max_value = CRM_Utils_Array::value('max_value', $opt, ''); $preHelpText = $postHelpText = ''; - $opt['label'] = !empty($opt['label']) ? $opt['label'] . '' . $opt['label'] . '' : ''; + $opt['label'] = !empty($opt['label']) ? '' . $opt['label'] . '' : ''; if (!empty($opt['help_pre'])) { $preHelpText = '' . $opt['help_pre'] . ''; }