From 76beb8d62e9892c323237ca3fa1291e871d36428 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Mon, 1 Jun 2026 12:02:40 +0200 Subject: [PATCH] Update showArticle-controller.php --- php/controller/showArticle-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/controller/showArticle-controller.php b/php/controller/showArticle-controller.php index b5ae40d..46936b8 100644 --- a/php/controller/showArticle-controller.php +++ b/php/controller/showArticle-controller.php @@ -15,7 +15,7 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){ $author = $article->getAuthor(); $tags = $article->getTags(); }else{ - header("location: ../index.php?pfad=404"); + header("location: index.php?pfad=404"); exit(); } } catch (Exception $e){