diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index f94cba63f0e3c18d2f6141df50ae524d90ebfd9b..a74d2d81d8b70c83baf24855e62be109c2fbc852 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -2551,10 +2551,12 @@ class CRM_Contact_BAO_Query { $this->_where[$grouping][] = "contact_a.contact_type $op (" . implode(',', $clause) . ')'; } else { + $quill = $clause; $type = array_pop($clause); $this->_where[$grouping][] = "contact_a.contact_type $op $type"; } - $this->_qill[$grouping][] = ts('Contact Type') . ' - ' . implode(' ' . ts('or') . ' ', $clause); + + $this->_qill[$grouping][] = ts('Contact Type') . ' - ' . implode(' ' . ts('or') . ' ', $quill); if (!empty($subTypes)) { $this->includeContactSubTypes($subTypes, $grouping);