From 0fe2321bd2a24b047bea2475a89860aee07cc15a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E5=8B=87?= Date: Tue, 18 Nov 2025 09:26:07 +0800 Subject: [PATCH] * [framework] Exception need args. --- framework/base/router.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/base/router.class.php b/framework/base/router.class.php index 9dff3ddd99..e191935377 100644 --- a/framework/base/router.class.php +++ b/framework/base/router.class.php @@ -3763,8 +3763,7 @@ class EndResponseException extends \Exception */ public static function create($content = '') { - $exception = new self; - $exception->content = $content; + $exception = new self($content); return $exception; }