From 1c1a84a264465bca6bea012450900c2d5300a671 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Sun, 2 Jun 2013 22:20:29 -0400 Subject: [PATCH] CRM_Contact_BAO_Query - Fix batch of regressions in api_v3_ContactTest --- CRM/Contact/BAO/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 16f392f481..bd6da793e7 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -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']), -- 2.25.1