From dd72fb7aa4e214b8f6ee266ec2934e2cd1d2a809 Mon Sep 17 00:00:00 2001 From: hnh0000 Date: Fri, 17 Jan 2020 17:44:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=9A=E6=80=81=E4=B8=80?= =?UTF-8?q?=E5=AF=B9=E5=A4=9A=E6=96=B0=E5=A2=9E=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/model/relation/MorphMany.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/model/relation/MorphMany.php b/library/think/model/relation/MorphMany.php index 2755d575..29ee4bb5 100644 --- a/library/think/model/relation/MorphMany.php +++ b/library/think/model/relation/MorphMany.php @@ -257,7 +257,7 @@ class MorphMany extends Relation $model = new $this->model(); - return $model->save() ? $model : false; + return $model->save($data) ? $model : false; } /** -- Gitee