Skip to content

Commit

Permalink
Merge pull request #15865 from eileenmcnaughton/query
Browse files Browse the repository at this point in the history
Fix incorrect reference on extracted function
  • Loading branch information
seamuslee001 authored Nov 17, 2019
2 parents eda8212 + b4d8c55 commit 0644886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Contact/BAO/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -7217,10 +7217,10 @@ public function getQillForField($name, $value, $op, $fieldSpec = [], $labelOverr
public function handleWhereFromMetadata($fieldSpec, $name, $value, $op, $grouping = 0) {
$this->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause($fieldSpec['where'], $op, $value, CRM_Utils_Type::typeToString($fieldSpec['type']));
$this->_qill[$grouping][] = $this->getQillForField($name, $value, $op, $fieldSpec);
if (!isset($query->_tables[$fieldSpec['table_name']])) {
if (!isset($this->_tables[$fieldSpec['table_name']])) {
$this->_tables[$fieldSpec['table_name']] = 1;
}
if (!isset($query->_whereTables[$fieldSpec['table_name']])) {
if (!isset($this->_whereTables[$fieldSpec['table_name']])) {
$this->_whereTables[$fieldSpec['table_name']] = 1;
}
}
Expand Down

0 comments on commit 0644886

Please sign in to comment.