CRM-16719: more fixes
authorKurund Jalmi <kurund@yahoo.com>
Mon, 17 Aug 2015 11:24:09 +0000 (16:54 +0530)
committerKurund Jalmi <kurund@yahoo.com>
Wed, 19 Aug 2015 17:46:37 +0000 (23:16 +0530)
CRM/Report/Form/ActivitySummary.php

index c73202e4795448a02492e3586001d02c2d8731ba..6d57126881758f809e052294358ba32541012b59 100644 (file)
@@ -460,7 +460,7 @@ class CRM_Report_Form_ActivitySummary extends CRM_Report_Form {
 
     $query = "SELECT SUM(activity_civireport.duration)
     FROM civicrm_activity activity_civireport
-    {$this->_where} {$this->_groupBy}";
+    {$this->_where}";
 
     $actSQL = "SELECT
       COUNT(DISTINCT {$this->_aliases['civicrm_activity']}.activity_type_id ) as civicrm_activity_activity_type_id_count,