Update updateArticle-controller.php
This commit is contained in:
@@ -11,6 +11,8 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
|
|||||||
exit();
|
exit();
|
||||||
} elseif(!isset($id)) {
|
} elseif(!isset($id)) {
|
||||||
$_SESSION["message"] = "missing_id";
|
$_SESSION["message"] = "missing_id";
|
||||||
|
header("location: ../../index.php?pfad=updateArticle");
|
||||||
|
exit();
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
$newTitle = $_POST["title"];
|
$newTitle = $_POST["title"];
|
||||||
|
|||||||
Reference in New Issue
Block a user