unset der Eingaben verschoben

This commit is contained in:
NOrtmann1
2026-06-09 19:05:04 +02:00
parent f54cf58dc2
commit 8cbd442371
2 changed files with 4 additions and 3 deletions
@@ -87,6 +87,10 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
exit();
}
$_SESSION["message"] = "article_updated";
unset($_SESSION['old_title']);
unset($_SESSION['old_content']);
unset($_SESSION['old_category']);
unset($_SESSION['old_tags']);
// Weiterleitung zur Homepage
header("location: ../../index.php?pfad=showArticle&id=$id");
}