From a37ca1efe5088edbbc521a830c51b92b528a4eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 23 Feb 2021 18:04:18 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Database/Base/BaseActiveRecord.php b/Database/Base/BaseActiveRecord.php index 5844f237..546d8cfc 100644 --- a/Database/Base/BaseActiveRecord.php +++ b/Database/Base/BaseActiveRecord.php @@ -471,9 +471,9 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess } else { $trance->commit(); - $result = $this->event->dispatch(self::AFTER_SAVE, [$attributes, $param]); + $this->event->dispatch(self::AFTER_SAVE, [$attributes, $param]); - var_dump($result); + $result = true; } return $result; }