REF - Switch CRM_Utils_Array::value to empty in conditionals
[civicrm-core.git] / CRM / Report / Form.php
index f9250adea9561fe98fa7b08b05505c2f067f00e2..f09de2def6efe856dd694eee5e371e78d75d5690 100644 (file)
@@ -5835,7 +5835,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
    */
   protected function storeGroupByArray() {
 
-    if (!CRM_Utils_Array::value('group_bys', $this->_params)
+    if (empty($this->_params['group_bys'])
       || !is_array($this->_params['group_bys'])) {
       $this->_params['group_bys'] = [];
     }