diff --git a/php/controller/updateArticle-controller.php b/php/controller/updateArticle-controller.php index ecbf624..60f4210 100644 --- a/php/controller/updateArticle-controller.php +++ b/php/controller/updateArticle-controller.php @@ -34,12 +34,6 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { $tags = $_POST['tags'] ?? ''; // -------------------------------- Validierung der Daten: ------------------------- - if (!articleAuthorValidator($author)) { - $_SESSION["message"] = "author_not_valid"; - header("location: ../../index.php?pfad=updateArticle&id=$id"); - exit(); - } - if (!articleTitleValidator($title)) { $_SESSION["message"] = "invalid_title"; header("location: ../../index.php?pfad=updateArticle&id=$id");