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