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:
e182b85
)
CRM_Contact_BAO_Query - Fix batch of regressions in api_v3_ContactTest
author
Tim Otten
<totten@civicrm.org>
Mon, 3 Jun 2013 02:20:29 +0000
(22:20 -0400)
committer
Tim Otten
<totten@civicrm.org>
Mon, 3 Jun 2013 02:20:46 +0000
(22:20 -0400)
CRM/Contact/BAO/Query.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Query.php
b/CRM/Contact/BAO/Query.php
index 16f392f481108c2d59b31a81f80b3cfda41a618b..bd6da793e74c7e3e82563982d7ef84a07fcb8e60 100644
(file)
--- 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']),