From e5846a82d672595e8730662af016629a0d7c6c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 4 Mar 2021 15:27:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/ActiveRecord.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Database/ActiveRecord.php b/Database/ActiveRecord.php index f6225331..628a4884 100644 --- a/Database/ActiveRecord.php +++ b/Database/ActiveRecord.php @@ -302,6 +302,7 @@ class ActiveRecord extends BaseActiveRecord foreach ($this->_with as $val) { $relates[$val] = $this->resolveObject($val); } + $this->_with = []; return $relates; }