From 7fde00611acd5cb6ab29742d99ba0302280ad9b7 Mon Sep 17 00:00:00 2001 From: mark burdett Date: Thu, 1 Nov 2018 16:49:29 -0700 Subject: [PATCH] cleanup query logic - followup on GH-12991 --- CRM/Contact/BAO/Query.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 083b643c5b..fe66fcd74b 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -2305,12 +2305,7 @@ class CRM_Contact_BAO_Query { $fieldName = "contact_a.{$fieldName}"; } else { - if ($op != 'IN' && !is_numeric($value) && !is_array($value)) { - $fieldName = "{$field['where']}"; - } - else { - $fieldName = "{$field['where']}"; - } + $fieldName = $field['where']; } } -- 2.25.1