From ecd243bb41165a17ed24c9336185db0ddd232808 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 6 Dec 2017 15:02:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E5=A4=84=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E9=97=AE=E9=A2=98?= 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 21eaea29..9a6cd3f7 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -704,7 +704,7 @@ class Query { // 传入的表名为数组 if (is_array($join)) { - list($table, $alias) = each($join); + list($table, $alias) = $join; } else { $join = trim($join); if (false !== strpos($join, '(')) {