CRM-16222 Fix-Forms with 'Other amount' field should display a currency symbol with...
[civicrm-core.git] / CRM / Price / BAO / PriceField.php
index d9bf0668b3926f9b3d443c9f629564b74213cef0..5872a361e6c221b3f5f82e80718b681c70b2a759 100644 (file)
@@ -3,7 +3,7 @@
   +--------------------------------------------------------------------+
   | CiviCRM version 4.6                                                |
   +--------------------------------------------------------------------+
-  | Copyright CiviCRM LLC (c) 2004-2014                                |
+  | Copyright CiviCRM LLC (c) 2004-2015                                |
   +--------------------------------------------------------------------+
   | This file is a part of CiviCRM.                                    |
   |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
@@ -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;
             }
           }