Beitrag Bearbeiten Autorenprüfung #49

Merged
niklas.ortmann merged 5 commits from Beitrag-bearbeiten-Autorenpruefung into dev 2026-07-17 17:36:05 +02:00
Showing only changes of commit e07051b356 - Show all commits
@@ -28,6 +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");
exit();
}
}