From 25e42517755141064f6186a691a5a5885e959099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 16 Mar 2021 10:48:19 +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/Base/BaseActiveRecord.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Database/Base/BaseActiveRecord.php b/Database/Base/BaseActiveRecord.php index 500ff27a..7910cfc7 100644 --- a/Database/Base/BaseActiveRecord.php +++ b/Database/Base/BaseActiveRecord.php @@ -425,16 +425,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess if (empty($param)) { return $this; } - $this->_attributes = array_merge($this->_attributes, $param); -// -// foreach ($param as $key => $val) { -// if ($this->has($key)) { -// $this->setAttribute($key, $val); -// } else { -// $this->$key = $val; -// } -// } return $this; }