aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http/NotFoundResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/Http/NotFoundResponse.php')
-rw-r--r--lib/public/AppFramework/Http/NotFoundResponse.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/NotFoundResponse.php b/lib/public/AppFramework/Http/NotFoundResponse.php
index 7f068a4c413..6d764ec526e 100644
--- a/lib/public/AppFramework/Http/NotFoundResponse.php
+++ b/lib/public/AppFramework/Http/NotFoundResponse.php
@@ -35,6 +35,8 @@ class NotFoundResponse extends Response {
* @since 8.1.0
*/
public function __construct() {
+ parent::__construct();
+
$this->setStatus(404);
}