From: Philipp Date: Sun, 31 Oct 2021 14:14:57 +0000 (+0100) Subject: Fix HTTP Code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=49c16a9dad7c2e92d9a5cf5fccfa7b3300cc4ee2;p=friendica.git Fix HTTP Code --- diff --git a/src/Security/PermissionSet/Exception/PermissionSetNotFoundException.php b/src/Security/PermissionSet/Exception/PermissionSetNotFoundException.php index 83678a44c1..b14e4d8320 100644 --- a/src/Security/PermissionSet/Exception/PermissionSetNotFoundException.php +++ b/src/Security/PermissionSet/Exception/PermissionSetNotFoundException.php @@ -8,6 +8,6 @@ class PermissionSetNotFoundException extends \RuntimeException { public function __construct($message = '', Exception $previous = null) { - parent::__construct($message, 500, $previous); + parent::__construct($message, 404, $previous); } }