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