From c8ce0d6a7288d04b2a6020c800d31e21394be95a Mon Sep 17 00:00:00 2001 From: Jamie McClelland Date: Thu, 10 Sep 2015 08:45:33 -0400 Subject: [PATCH] CRM-17191 - removing redundant if clause. --- CRM/Report/Form.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index a28800f9e9..84129769d2 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -2683,8 +2683,7 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND */ public function groupBy() { $groupBys = array(); - if (!empty($this->_params['group_bys']) && - is_array($this->_params['group_bys']) && + if (is_array($this->_params['group_bys']) && !empty($this->_params['group_bys']) ) { foreach ($this->_columns as $tableName => $table) { -- 2.25.1