From ca4dfd03e4cd9639d10f88187253ab8ae06c1ed0 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Fri, 29 May 2026 13:16:41 +0200 Subject: [PATCH] debugging --- php/controller/createArticle-controller.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php index ef077eb..f182a45 100644 --- a/php/controller/createArticle-controller.php +++ b/php/controller/createArticle-controller.php @@ -16,9 +16,8 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { $tags = $_POST["tags"]; try { - $articleManager = ArticleManager::getInstance(); + //$articleManager = ArticleManager::getInstance(); //$articleManager->addArticle($title, $content, $author, $category, $tags); - echo "Test"; $articleManager->addArticle("Test", "Testkontent", "informatik", "max.mustermann", "Apfel, Birne"); } catch (Exception $e){ $_SESSION["message"] = "internal_error";