From e6bac2988d0da5f3489093f82ea1555b7b509eac Mon Sep 17 00:00:00 2001 From: evgen-d Date: Tue, 5 Aug 2014 08:54:50 +0400 Subject: [PATCH] fix buildInCondition [fixed #1] --- Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Query.php b/Query.php index a69504c..4f4f74d 100644 --- a/Query.php +++ b/Query.php @@ -285,7 +285,7 @@ class Query extends Component implements QueryInterface list($column, $values) = $operands; if ($values === [] || $column === []) { - return $operator === 'IN' ? '0=1' : ''; + return $operator === 'IN' ? '0==1' : ''; } if ($values instanceof Query) {