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);