From: monishdeb Date: Fri, 5 Jun 2015 11:23:54 +0000 (+0530) Subject: notice fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=34c3a72b8c6a2c5d76b8cc42319b1fce1c418ea3;p=civicrm-core.git notice fix --- diff --git a/CRM/Report/Form/Contribute/Summary.php b/CRM/Report/Form/Contribute/Summary.php index af2de0be8f..c5bd21f4db 100644 --- a/CRM/Report/Form/Contribute/Summary.php +++ b/CRM/Report/Form/Contribute/Summary.php @@ -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)) {