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";