From 78d62c3657a772015bb7616306ed5b4bd767cada Mon Sep 17 00:00:00 2001 From: mcop1 <89011527+mcop1@users.noreply.github.com> Date: Wed, 6 Jul 2022 11:25:29 +0200 Subject: [PATCH] Fix: removed excess bracket when quoting the value for "not" filter operator (#558) --- src/GraphQL/Helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GraphQL/Helper.php b/src/GraphQL/Helper.php index b5f97db5..ce7e0bd8 100644 --- a/src/GraphQL/Helper.php +++ b/src/GraphQL/Helper.php @@ -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])) {