notice fix
authormonishdeb <monish.deb@webaccessglobal.com>
Fri, 5 Jun 2015 11:23:54 +0000 (16:53 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Fri, 5 Jun 2015 11:23:54 +0000 (16:53 +0530)
CRM/Report/Form/Contribute/Summary.php

index af2de0be8f95289bc42ec83762a95c0033c820af..c5bd21f4dbb887a28c9ee7ffe355e7e854464769 100644 (file)
@@ -453,8 +453,8 @@ class CRM_Report_Form_Contribute_Summary extends CRM_Report_Form {
   public function groupBy() {
     $this->_groupBy = "";
     $append = FALSE;
-    if (is_array($this->_params['group_bys']) &&
-      !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)) {