-- CRM test fix
authorRavish Nair <ravish.nair@webaccess.co.in>
Fri, 7 Jun 2013 04:42:57 +0000 (10:12 +0530)
committerRavish Nair <ravish.nair@webaccess.co.in>
Fri, 7 Jun 2013 04:42:57 +0000 (10:12 +0530)
CRM/Utils/Money.php

index 151c2f0627d32a5c0cf52ebf93b347a938972bbd..6a9880f274c25a26c012c9a72991c96d8646316b 100644 (file)
@@ -81,7 +81,7 @@ class CRM_Utils_Money {
       $currencySymbolName = CRM_Core_PseudoConstant::get('CRM_Contribute_DAO_Contribution', 'currency', array('labelColumn' => 'name'));
       $currencySymbol = CRM_Core_PseudoConstant::get('CRM_Contribute_DAO_Contribution', 'currency');
 
-      self::$_currencySymbols = array_combine($currencySymbolName, $currencySymbol);
+      self::$_currencySymbols = array_intersect_key($currencySymbol, $currencySymbolName);
     }
 
     if (!$currency) {