From 1ab44ff8e7b1df128ef4ee09fb590ea327f5d0ee Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 12 Jan 2017 11:45:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/db/Query.php b/library/think/db/Query.php index e15a48fd..5ed6fb17 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -1154,7 +1154,7 @@ class Query // 数组批量查询 $where = $field; foreach ($where as $k => $val) { - $this->options['multi'][$k][] = $val; + $this->options['multi'][$logic][$k][] = $val; } } elseif ($field && is_string($field)) { // 字符串查询