CRM-16719: more fixes
authorKurund Jalmi <kurund@yahoo.com>
Sun, 23 Aug 2015 12:52:32 +0000 (18:22 +0530)
committerKurund Jalmi <kurund@yahoo.com>
Sun, 23 Aug 2015 12:52:32 +0000 (18:22 +0530)
CRM/Report/Form/ActivitySummary.php

index 224f4f645ce722923bf7bca9260142a6589d7ddf..1aa42c9f9a31138f6548917566b46ed9d26163f2 100644 (file)
@@ -388,7 +388,7 @@ class CRM_Report_Form_ActivitySummary extends CRM_Report_Form {
 
   public function groupBy() {
     $this->_groupBy = array();
-    if (!empty($this->_params['group_bys'] &&
+    if (!empty($this->_params['group_bys']) &&
     is_array($this->_params['group_bys']))) {
       foreach ($this->_columns as $tableName => $table) {
         if (array_key_exists('group_bys', $table)) {