From 603c208ae4fe40dedd7a910fb670316648e5c13a Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Mon, 1 Jun 2026 11:50:59 +0200 Subject: [PATCH] Update showArticle-controller.php --- php/controller/showArticle-controller.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/php/controller/showArticle-controller.php b/php/controller/showArticle-controller.php index 38d69ee..f0ef716 100644 --- a/php/controller/showArticle-controller.php +++ b/php/controller/showArticle-controller.php @@ -24,7 +24,6 @@ if (isset($_GET["id"])){ exit(); } }else{ - header("location: ../../index.php?pfad=404"); - exit(); + $_SESSION["message"] = "missing_id"; } ?> \ No newline at end of file