From b6190c8b44eedf9e167f22beedc28d4b0ee9b03e Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 9 Aug 2013 20:56:17 -0700 Subject: [PATCH] Fix currency symbols 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, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Core/Config/Variables.php b/CRM/Core/Config/Variables.php index 6548960d49..5cfca7852b 100644 --- a/CRM/Core/Config/Variables.php +++ b/CRM/Core/Config/Variables.php @@ -490,7 +490,10 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults { static $cachedSymbol = NULL; if (!$cachedSymbol || $defaultCurrency) { if ($this->defaultCurrency || $defaultCurrency) { - $this->currencySymbols = CRM_Contribute_BAO_Contribution::buildOptions('currency'); + $this->currencySymbols = CRM_Core_PseudoConstant::get('CRM_Contribute_DAO_Contribution', 'currency', array( + 'labelColumn' => 'symbol', + 'orderColumn' => FALSE, + )); $currency = $defaultCurrency ? $defaultCurrency : $this->defaultCurrency; $cachedSymbol = CRM_Utils_Array::value($currency, $this->currencySymbols, ''); } -- 2.25.1