From 4f827ed3a894a638ac2fb547df3c039a99f0ab63 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Tue, 2 Jun 2026 00:13:37 +0200 Subject: [PATCH] Update createArticle-controller.php --- php/controller/createArticle-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php index c0a3572..e1bf9d7 100644 --- a/php/controller/createArticle-controller.php +++ b/php/controller/createArticle-controller.php @@ -26,7 +26,7 @@ try{ } else { $title = $_POST["title"]; $content = $_POST["content"]; - $author = "max.mustermann"; //$user["email"]; + $author = $user["email"]; $category = $_POST["category"]; $tags = $_POST['tags'] ?? '';