- Fixed a problem of invalid comparison types in empty IN() query fragment
This commit is contained in:
1 parent
ea667db552
commit
d4d68a029d
1 file changed
+1
-1
+1
-1
@@ -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) . ")";
|
||||||
|
|||||||
Reference in new issue
Block a user