From 738b36c406f0bdf1e5ca28adef13c917ed656959 Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Fri, 29 May 2026 17:43:05 +0100 Subject: [PATCH] Update updateArticle-controller.php --- php/controller/updateArticle-controller.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php/controller/updateArticle-controller.php b/php/controller/updateArticle-controller.php index 6df27d1..2ffb8b0 100644 --- a/php/controller/updateArticle-controller.php +++ b/php/controller/updateArticle-controller.php @@ -11,6 +11,8 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { exit(); } elseif(!isset($id)) { $_SESSION["message"] = "missing_id"; + header("location: ../../index.php?pfad=updateArticle"); + exit(); }else{ $newTitle = $_POST["title"];