Skip to content

Commit

Permalink
FilterProcessor: Fix predicate assembling for EXISTS and `NOT EXIST…
Browse files Browse the repository at this point in the history
…S` operators
  • Loading branch information
raviks789 committed Jun 19, 2024
1 parent fe9903e commit b975e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compat/FilterProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static function assemblePredicate(Filter\Condition $filter)
$column = $filter->getColumn();
$expression = $filter->getValue();

if (is_array($expression) || $expression instanceof Select) {
if (! empty($column) && (is_array($expression) || $expression instanceof Select)) {
$nullVerification = true;
if (is_array($column)) {
if (count($column) === 1) {
Expand Down

0 comments on commit b975e10

Please sign in to comment.