projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
REF - Switch CRM_Utils_Array::value to empty in conditionals
[civicrm-core.git]
/
CRM
/
Report
/
Form.php
diff --git
a/CRM/Report/Form.php
b/CRM/Report/Form.php
index f9250adea9561fe98fa7b08b05505c2f067f00e2..f09de2def6efe856dd694eee5e371e78d75d5690 100644
(file)
--- a/
CRM/Report/Form.php
+++ b/
CRM/Report/Form.php
@@
-5835,7
+5835,7
@@
LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
*/
protected function storeGroupByArray() {
*/
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'] = [];
}
|| !is_array($this->_params['group_bys'])) {
$this->_params['group_bys'] = [];
}