From: Web Access Date: Wed, 1 Apr 2015 09:10:45 +0000 (+0530) Subject: Fix for currency format on exporting contribution detail report X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=39d06e3819ab796ce608503ee4aae0ac704cc111;p=civicrm-core.git Fix for currency format on exporting contribution detail report --- diff --git a/CRM/Report/Utils/Report.php b/CRM/Report/Utils/Report.php index 4706809569..d9a86a2a7c 100644 --- a/CRM/Report/Utils/Report.php +++ b/CRM/Report/Utils/Report.php @@ -281,7 +281,7 @@ WHERE inst.report_id = %1"; } } elseif (CRM_Utils_Array::value('type', $form->_columnHeaders[$v]) == 1024) { - $value = CRM_Utils_Money::format($value); + $value = CRM_Utils_Money::format($value, $row['civicrm_contribution_currency']); } $displayRows[$v] = '"' . $value . '"'; }