From 787229fa60d6c0d3980473c5ab54cf22db3f62d8 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 7 Aug 2013 13:25:38 -0700 Subject: [PATCH] Fix currency display CRM-13144 ---------------------------------------- * CRM-13144: Currency display is messed up http://issues.civicrm.org/jira/browse/CRM-13144 --- CRM/Core/Config/Variables.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CRM/Core/Config/Variables.php b/CRM/Core/Config/Variables.php index ee44cbdb66..6548960d49 100644 --- a/CRM/Core/Config/Variables.php +++ b/CRM/Core/Config/Variables.php @@ -490,10 +490,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults { static $cachedSymbol = NULL; if (!$cachedSymbol || $defaultCurrency) { if ($this->defaultCurrency || $defaultCurrency) { - $currencySymbolName = CRM_Core_PseudoConstant::get('CRM_Contribute_DAO_Contribution', 'currency', array('labelColumn' => 'name')); - $currencySymbol = CRM_Core_PseudoConstant::get('CRM_Contribute_DAO_Contribution', 'currency'); - - $this->currencySymbols = array_combine($currencySymbolName, $currencySymbol); + $this->currencySymbols = CRM_Contribute_BAO_Contribution::buildOptions('currency'); $currency = $defaultCurrency ? $defaultCurrency : $this->defaultCurrency; $cachedSymbol = CRM_Utils_Array::value($currency, $this->currencySymbols, ''); } -- 2.25.1