From 075422dc397ba121ca7573f54a7c295e4cb062ca Mon Sep 17 00:00:00 2001 From: TheCartpenter Date: Tue, 3 Sep 2024 00:03:23 -0400 Subject: [PATCH] Added escaping on Exception instance in router engine --- upload/system/engine/router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/system/engine/router.php b/upload/system/engine/router.php index 8dc6e4659..a74622aa2 100644 --- a/upload/system/engine/router.php +++ b/upload/system/engine/router.php @@ -80,7 +80,7 @@ private function execute(Action $action) { return $result; } - if ($result instanceof Exception) { + if ($result instanceof \Exception) { $action = $this->error; $this->error = null;