----------------------------------------
* CRM-13242: != Operator Doesn't Work for Contact Type in Search Builder
http://issues.civicrm.org/jira/browse/CRM-13242
$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);