From 2d2bbeb39f383346632db9e24dbafe5768a6713e Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Fri, 17 Jul 2026 15:57:15 +0200 Subject: [PATCH] Update showArticle-controller.php --- php/controller/showArticle-controller.php | 1 - 1 file changed, 1 deletion(-) diff --git a/php/controller/showArticle-controller.php b/php/controller/showArticle-controller.php index 27174dc..6475220 100644 --- a/php/controller/showArticle-controller.php +++ b/php/controller/showArticle-controller.php @@ -28,7 +28,6 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){ if($_GET["pfad"] == "updateArticle"){ if($article->getAuthor() != $_SESSION["user_email"]){ $_SESSION["message"] = "unauthorized_access"; - header("location: ../../index.php"); exit(); } }