Update showArticle-controller.php

This commit is contained in:
2026-07-17 15:59:29 +02:00
parent e07051b356
commit cebbe8869a
+1 -1
View File
@@ -28,7 +28,7 @@ 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");
header("location: index.php");
exit();
}
}