From cb02e05d55ded07cdd75eacad75ef9188e799f0a Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Sun, 14 Jun 2026 23:27:30 +0200 Subject: [PATCH] Update createArticle-controller.php --- php/controller/createArticle-controller.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php index 5246566..2022393 100644 --- a/php/controller/createArticle-controller.php +++ b/php/controller/createArticle-controller.php @@ -24,12 +24,6 @@ require_once '../validator/article-validator.php'; $tags = $_POST['tags'] ?? ''; // -------------------------------- Validierung der Daten: ------------------------- - if (!articleAuthorValidator($author)) { - $_SESSION["message"] = "author_not_valid"; - header("location: ../../index.php?pfad=createArticle"); - exit(); - } - if (!articleTitleValidator($title)) { $_SESSION["message"] = "invalid_title"; header("location: ../../index.php?pfad=createArticle");