Merge pull request #17640 from samuelsov/bugreportcivigrant
authorSeamus Lee <seamuslee001@gmail.com>
Wed, 17 Jun 2020 01:09:11 +0000 (11:09 +1000)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2020 01:09:11 +0000 (11:09 +1000)
Bug in Grant statistics report

CRM/Report/Form/Grant/Statistics.php

index df5597aa615ad4620a21befbf64f2d6f8d68e3ab..3712539aa61267f5a0cdeaed357401c16b9cea77 100644 (file)
@@ -513,7 +513,7 @@ SELECT COUNT({$this->_aliases['civicrm_grant']}.id) as count ,
       return;
     }
 
-    $currencies = CRM_Core_PseudoConstant::get('CRM_Grant_DAO_Grant', 'currency', ['labelColumn' => 'symbol']);
+    $currencies = CRM_Core_PseudoConstant::get('CRM_Grant_DAO_Grant', 'currency', ['labelColumn' => 'name']);
     $currency = $currencies[$values['civicrm_grant_currency']];
 
     if (!$customData) {