mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
修正Query类一处错误
This commit is contained in:
@@ -773,7 +773,7 @@ class Query
|
|||||||
$prefix = $this->prefix;
|
$prefix = $this->prefix;
|
||||||
if (is_array($join)) {
|
if (is_array($join)) {
|
||||||
// 支持数据表别名
|
// 支持数据表别名
|
||||||
list($table, $alias) = ecch($join);
|
list($table, $alias) = each($join);
|
||||||
} elseif ($prefix && 0 !== strpos($join, $prefix) && 0 !== strpos($join, '__')) {
|
} elseif ($prefix && 0 !== strpos($join, $prefix) && 0 !== strpos($join, '__')) {
|
||||||
$table = $this->getTable($join);
|
$table = $this->getTable($join);
|
||||||
$alias = $join;
|
$alias = $join;
|
||||||
|
|||||||
Reference in New Issue
Block a user