projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a5987a
)
php 7.4 notice
author
demeritcowboy
<demeritcowboy@hotmail.com>
Sat, 6 Feb 2021 19:33:43 +0000
(14:33 -0500)
committer
demeritcowboy
<demeritcowboy@hotmail.com>
Sat, 6 Feb 2021 19:39:32 +0000
(14:39 -0500)
CRM/Contact/BAO/Query.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Query.php
b/CRM/Contact/BAO/Query.php
index 4f9874513de8855f388d5a85580bc16f648a7eae..baa41722cd9e9275814e0a82fdffee7f07ce8d16 100644
(file)
--- a/
CRM/Contact/BAO/Query.php
+++ b/
CRM/Contact/BAO/Query.php
@@
-1112,8
+1112,10
@@
class CRM_Contact_BAO_Query {
}
$field = $this->_fields[$elementName] ?? NULL;
- if (isset($this->_pseudoConstantsSelect[$field['name']])) {
- $this->_pseudoConstantsSelect[$name . '-' . $field['name']] = $this->_pseudoConstantsSelect[$field['name']];
+ if (!empty($field)) {
+ if (isset($this->_pseudoConstantsSelect[$field['name']])) {
+ $this->_pseudoConstantsSelect[$name . '-' . $field['name']] = $this->_pseudoConstantsSelect[$field['name']];
+ }
}
// hack for profile, add location id