From 7fd21c71888adf9e90cdef639d444498f66cab97 Mon Sep 17 00:00:00 2001 From: Web Access Date: Tue, 16 Jun 2015 10:40:27 +0530 Subject: [PATCH] minor changes --- CRM/Report/Form/Member/ContributionDetail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Report/Form/Member/ContributionDetail.php b/CRM/Report/Form/Member/ContributionDetail.php index 79ee62c845..e181344e81 100644 --- a/CRM/Report/Form/Member/ContributionDetail.php +++ b/CRM/Report/Form/Member/ContributionDetail.php @@ -614,7 +614,8 @@ class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form { $sql = "SELECT COUNT(cc.id) as count, SUM(cc.total_amount) as amount, ROUND(AVG(cc.total_amount), 2) as avg, cc.currency as currency FROM civicrm_contribution cc - WHERE cc.id IN ({$select} {$this->_from} {$this->_where}) GROUP BY cc.currency"; + WHERE cc.id IN ({$select} {$this->_from} {$this->_where}) + GROUP BY cc.currency"; $dao = CRM_Core_DAO::executeQuery($sql); $totalAmount = $average = array(); -- 2.25.1