- Fixed a problem of invalid comparison types in empty IN() query fragment
This commit is contained in:
parent
ea667db552
commit
d4d68a029d
|
@ -128,7 +128,7 @@ class Where extends Fragment {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$stack[] = $this->filterValue(false);
|
$stack[] = $this->filterValue(Sql::raw("(SELECT NULL WHERE FALSE)"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return "(" . implode(", ", $stack) . ")";
|
return "(" . implode(", ", $stack) . ")";
|
||||||
|
|
Loading…
Reference in New Issue