mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 15:42:48 +08:00
修正Query类的find方法一处警告错误
This commit is contained in:
@@ -1409,7 +1409,7 @@ class Query
|
|||||||
if (!empty($options['model'])) {
|
if (!empty($options['model'])) {
|
||||||
// 返回模型对象
|
// 返回模型对象
|
||||||
$data = new $options['model']($data);
|
$data = new $options['model']($data);
|
||||||
$data->isUpdate(true, $options['where']['AND']);
|
$data->isUpdate(true, isset($options['where']['AND']) ? $options['where']['AND'] : null);
|
||||||
// 关联查询
|
// 关联查询
|
||||||
if (!empty($options['relation'])) {
|
if (!empty($options['relation'])) {
|
||||||
$data->relationQuery($options['relation']);
|
$data->relationQuery($options['relation']);
|
||||||
|
|||||||
Reference in New Issue
Block a user