From f54cf58dc2325afabf01902725c3152b06d57090 Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Tue, 9 Jun 2026 18:57:26 +0200 Subject: [PATCH] Update updateArticle-controller.php --- php/controller/updateArticle-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/controller/updateArticle-controller.php b/php/controller/updateArticle-controller.php index 16fa90f..0e0bfd1 100644 --- a/php/controller/updateArticle-controller.php +++ b/php/controller/updateArticle-controller.php @@ -21,7 +21,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { if (!isset($_POST["title"]) ||!isset($_POST["content"]) || !isset($_POST["category"])){ $_SESSION["message"] = "missing_parameters"; - header("location: ../../index.php?pfad=updateArticle"); + header("location: ../../index.php?pfad=updateArticle&id=$id"); exit(); }else{ $title = $_POST["title"];