- Fixed a problem of invalid comparison types in empty IN() query fragment

This commit is contained in:
Dave Mc Nicoll 2023-11-24 11:31:54 -05:00
parent ea667db552
commit d4d68a029d
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Where extends Fragment {
}
}
else {
$stack[] = $this->filterValue(false);
$stack[] = $this->filterValue(Sql::raw("(SELECT NULL WHERE FALSE)"));
}
return "(" . implode(", ", $stack) . ")";