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; }