- #470470 Follow up patch to fix a couple of typos.

parent 0c70ac44
......@@ -886,7 +886,7 @@ function _nodereference_potential_references_standard($field, $string = '', $mat
'equals' => "= '%s'",
'starts_with' => "$like '%s%%'",
);
$where[] = 'n.title '. (isset($match_operators[$match]) ? $match_operators[$match] : $match_operators['contains']);
$where[] = 'n.title '. (isset($match_clauses[$match]) ? $match_clauses[$match] : $match_clauses['contains']);
$args[] = $string;
}
elseif ($ids) {
......
......@@ -783,7 +783,7 @@ function _userreference_potential_references_standard($field, $string = '', $mat
'equals' => "= '%s'",
'starts_with' => "$like '%s%%'",
);
$where[] = 'u.name '. (isset($match_operators[$match]) ? $match_operators[$match] : $match_operators['contains']);
$where[] = 'u.name '. (isset($match_clauses[$match]) ? $match_clauses[$match] : $match_clauses['contains']);
$args[] = $string;
}
elseif ($ids) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment