From aaff15ee8c6effc09801fb48ee091fb5bbd663fb Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Tue, 9 Jun 2026 18:49:14 +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 d5ccc77..8e54b87 100644 --- a/php/controller/updateArticle-controller.php +++ b/php/controller/updateArticle-controller.php @@ -83,7 +83,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { $articleManager->updateArticle($id ,$article, $author); } catch (Exception $e){ $_SESSION["message"] = $e->getMessage(); - header("location: ../../index.php?pfad=updateArticle"); + header("location: ../../index.php?pfad=updateArticle=$id"); exit(); } $_SESSION["message"] = "article_updated";