From 667b710ec2277c1d570bca9ba0a68d5dcf81eafb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 19 Mar 2021 19:20:50 +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/Crontab.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Crontab.php b/System/Crontab.php index d0d4f60e..36cbe9dc 100644 --- a/System/Crontab.php +++ b/System/Crontab.php @@ -158,7 +158,7 @@ class Crontab extends BaseObject $redis = Snowflake::app()->getRedis(); try { $this->execute_number += 1; - call_user_func($this->handler, $list['params'] ?? null); + call_user_func($this->handler, $this->params); if ($this->isLoop === false) { return; }