Skip to content

Commit

Permalink
cleanup query logic - followup on GH-12991
Browse files Browse the repository at this point in the history
  • Loading branch information
mfb committed Nov 1, 2018
1 parent 1d6f59e commit 7fde006
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 @@ -2305,12 +2305,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 7fde006

Please sign in to comment.