mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正Query类
This commit is contained in:
@@ -1999,7 +1999,7 @@ class Query
|
||||
$relation = explode(',', $relation);
|
||||
}
|
||||
if (isset($this->options['relation'])) {
|
||||
$this->options['relation'] = array_mrege($this->options['relation'], $relation);
|
||||
$this->options['relation'] = array_merge($this->options['relation'], $relation);
|
||||
} else {
|
||||
$this->options['relation'] = $relation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user