From 693b7312ced06c4bc86824f0542aba1d06ac6f44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 30 Mar 2021 11:41: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 --- System/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Event.php b/System/Event.php index d9e39ade..fa4ea710 100644 --- a/System/Event.php +++ b/System/Event.php @@ -70,7 +70,7 @@ class Event extends BaseObject * @param bool $isAppend * @throws Exception */ - public function on($name, $callback, $parameter = [], $isAppend = true) + public function on($name, $callback, $parameter = [], $isAppend = false) { if (!isset($this->_events[$name])) { $this->_events[$name] = [];