diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php index cf09479..fc3bbaf 100644 --- a/php/controller/createArticle-controller.php +++ b/php/controller/createArticle-controller.php @@ -19,8 +19,9 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { $_SESSION["message"] = "missing_parameters"; header("location: index.php?pfad=createArticle"); } else { - echo $articleManager->test(); /* + echo $articleManager->test(); + $title = $_POST["title"]; $content = $_POST["content"]; $category = $_POST["category"];