Skip to content
Snippets Groups Projects
Commit 1c1a84a2 authored by totten's avatar totten
Browse files

CRM_Contact_BAO_Query - Fix batch of regressions in api_v3_ContactTest

parent e182b859
No related branches found
No related tags found
No related merge requests found
......@@ -1723,7 +1723,7 @@ class CRM_Contact_BAO_Query {
$this->_qill[$grouping][] = ts('State') . " ($lType) $op '$value'";
}
}
elseif ($field['pseudoconstant']) {
elseif (!empty($field['pseudoconstant'])) {
$this->optionValueQuery(
$name, $op, $value, $grouping,
CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', $field['name']),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment