From e3a30de978c1a11af3cab2242e24e59d9e7e70b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 23 Feb 2021 18:37:38 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/ActiveRecord.php b/Database/ActiveRecord.php index 05894ee5..4c965ab3 100644 --- a/Database/ActiveRecord.php +++ b/Database/ActiveRecord.php @@ -149,7 +149,7 @@ class ActiveRecord extends BaseActiveRecord } return static::getDb()->createCommand() ->mathematics(self::getTable(), [$action => $columns], $condition) - ->exec(false, $this); + ->exec($this); }