From c12ef86814f67c22c2cc8ee7467442651e538245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 12 Jan 2021 19:42:51 +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 | 3 --- 1 file changed, 3 deletions(-) diff --git a/Database/Base/BaseActiveRecord.php b/Database/Base/BaseActiveRecord.php index fdbf01db..6374c12c 100644 --- a/Database/Base/BaseActiveRecord.php +++ b/Database/Base/BaseActiveRecord.php @@ -434,10 +434,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, \ArrayAccess return false; } - $format = static::getColumns()->format(); - $this->_attributes = array_merge($format, $this->_attributes); static::getDb()->enablingTransactions(); - [$attributes, $condition, $param] = $this->filtration_and_separation(); if (($primary = $this->getPrimary()) !== null) { $condition = [$primary => $this->getPrimaryValue()];