From: Web Access Date: Tue, 16 Jun 2015 05:10:27 +0000 (+0530) Subject: minor changes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7fd21c71888adf9e90cdef639d444498f66cab97;p=civicrm-core.git minor changes --- 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();