minor changes
authorWeb Access <rohan.katkar@webaccessglobal.com>
Tue, 16 Jun 2015 05:10:27 +0000 (10:40 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Tue, 16 Jun 2015 05:10:27 +0000 (10:40 +0530)
CRM/Report/Form/Member/ContributionDetail.php

index 79ee62c845bac935a955f799ed07fb3485d45143..e181344e8123c7f6845cf2d251e28d6a9c035612 100644 (file)
@@ -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();