Update showArticle-controller.php

This commit is contained in:
2026-07-17 15:57:15 +02:00
parent c00443b6fa
commit 2d2bbeb39f
@@ -28,7 +28,6 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){
if($_GET["pfad"] == "updateArticle"){ if($_GET["pfad"] == "updateArticle"){
if($article->getAuthor() != $_SESSION["user_email"]){ if($article->getAuthor() != $_SESSION["user_email"]){
$_SESSION["message"] = "unauthorized_access"; $_SESSION["message"] = "unauthorized_access";
header("location: ../../index.php");
exit(); exit();
} }
} }