From be8f95380263a18cf6cde739a5ec92bf51eb7e4f Mon Sep 17 00:00:00 2001 From: pratikshad Date: Fri, 10 Apr 2015 17:22:42 +0530 Subject: [PATCH] CRM-16222 Fix-Forms with 'Other amount' field should display a currency symbol with the field ---------------------------------------- * CRM-16222: Forms with "Other amount" field should display a currency symbol with the field https://issues.civicrm.org/jira/browse/CRM-16222 --- CRM/Price/BAO/PriceField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Price/BAO/PriceField.php b/CRM/Price/BAO/PriceField.php index 64a225c59b..5872a361e6 100644 --- a/CRM/Price/BAO/PriceField.php +++ b/CRM/Price/BAO/PriceField.php @@ -322,7 +322,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { $extra = array(); if (!empty($qf->_quickConfig) && !empty($qf->_contributionAmount)) { foreach ($fieldOptions as &$fieldOption) { - if ($fieldOption['name'] == 'other_amount') { + if (strtolower($fieldOption['name']) == 'other_amount') { $fieldOption['label'] = $fieldOption['label'] . ' ' . $currencySymbol; } } -- 2.25.1