diff --git a/common/framework/parsers/dbquery/variablebase.php b/common/framework/parsers/dbquery/variablebase.php index 20d0dcccd..897c9fbe6 100644 --- a/common/framework/parsers/dbquery/variablebase.php +++ b/common/framework/parsers/dbquery/variablebase.php @@ -208,7 +208,7 @@ class VariableBase case 'not_in': if ($is_expression) { - $where = sprintf('%s IN %s', $column, $value); + $where = sprintf('%s NOT IN %s', $column, $value); } else {