Commit 684295fe by Alexander Kochetov

Fixes

parent 48d04fbb
......@@ -813,7 +813,7 @@ class QueryBuilder extends \yii\base\Object
$values = (array)$values;
if (empty($values) || empty($column)) {
if (empty($values) || $column === array()) {
return $operator === 'IN' ? '0=1' : '';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment