Skip to content

Commit

Permalink
Merge pull request #13055 from mfb/cleanup-query-logic
Browse files Browse the repository at this point in the history
cleanup query logic - followup on GH-12991
  • Loading branch information
eileenmcnaughton authored Nov 2, 2018
2 parents 7649c95 + 7fde006 commit 202d768
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions CRM/Contact/BAO/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -2306,12 +2306,7 @@ public function restWhere(&$values) {
$fieldName = "contact_a.{$fieldName}";
}
else {
if ($op != 'IN' && !is_numeric($value) && !is_array($value)) {
$fieldName = "{$field['where']}";
}
else {
$fieldName = "{$field['where']}";
}
$fieldName = $field['where'];
}
}

Expand Down

0 comments on commit 202d768

Please sign in to comment.