From d18f33a87a21dd2e2aded2428046646159d890ed Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Mon, 1 Jun 2026 12:17:11 +0200 Subject: [PATCH] Update showArticle-controller.php --- php/controller/showArticle-controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/controller/showArticle-controller.php b/php/controller/showArticle-controller.php index 154da0b..95d649d 100644 --- a/php/controller/showArticle-controller.php +++ b/php/controller/showArticle-controller.php @@ -16,12 +16,12 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){ $tags = $article->getTags(); }else{ echo "Test"; - header("Location: index.php?pfad=404"); + header("location: index.php?pfad=404"); exit(); } } catch (Exception $e){ $_SESSION["message"] = "internal_error"; - header("location: ../../index.php?pfad=showArticle"); + header("location: index.php?pfad=showArticle"); exit(); } }else{