Update updateArticle-controller.php
This commit is contained in:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user