From b6f3959c6d41b3ea3677de6f38d07d3f6e03ccc2 Mon Sep 17 00:00:00 2001 From: Gaozhen Ying Date: Thu, 7 Dec 2017 15:30:14 +0800 Subject: [PATCH] fix typo --- 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 9eef65cb..13b39a44 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -704,7 +704,7 @@ class Query { // 传入的表名为数组 if (is_array($join)) { - $talbe = key($join); + $table = key($join); $alias = current($join); } else { $join = trim($join);