From 45f229af75f758343b9692f0fa7f435c2608d26d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 23 Feb 2021 18:03:14 +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 --- System/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Event.php b/System/Event.php index f06aa3aa..ddc7ce49 100644 --- a/System/Event.php +++ b/System/Event.php @@ -193,7 +193,7 @@ class Event extends BaseObject { try { if (!$this->exists($name)) { - return false; + return true; } if (!empty($handler) && $this->exists($name, $handler)) { $events = [$this->get($name, $handler)];