From 34c3a72b8c6a2c5d76b8cc42319b1fce1c418ea3 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Fri, 5 Jun 2015 16:53:54 +0530 Subject: [PATCH] notice fix --- CRM/Report/Form/Contribute/Summary.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.25.1