fix buildInCondition [fixed #1]

This commit is contained in:
evgen-d 2014-08-05 08:54:50 +04:00
parent 30c38fa3a4
commit e6bac2988d

View File

@ -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) {