Skip to content

Commit

Permalink
Fix: removed excess bracket when quoting the value for "not" filter o…
Browse files Browse the repository at this point in the history
…perator (#558)
  • Loading branch information
mcop1 authored Jul 6, 2022
1 parent a7f8571 commit 78d62c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphQL/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static function buildSqlCondition($defaultTable, $q, $op = null, $subject
if ($innerOp == 'NOT') {
$valuePart = ' IS NULL';
if (!is_null($objectValue)) {
$valuePart = ' =' . $db->quote($objectValue) . ')';
$valuePart = ' =' . $db->quote($objectValue);
}

if (isset($fieldMappingTable[$key])) {
Expand Down

0 comments on commit 78d62c3

Please sign in to comment.