Skip to content

Commit

Permalink
Added escaping on Exception instance in router engine
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Sep 3, 2024
1 parent 3d8aca5 commit 075422d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/system/engine/router.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 075422d

Please sign in to comment.