From 55695f3f825b8e5ded647459d4d17fa25a6be4ae Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Fri, 17 Jul 2026 17:42:18 +0200 Subject: [PATCH] Update showArticle-controller.php --- php/controller/showArticle-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/controller/showArticle-controller.php b/php/controller/showArticle-controller.php index fcd240a..676f812 100644 --- a/php/controller/showArticle-controller.php +++ b/php/controller/showArticle-controller.php @@ -22,7 +22,7 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){ $articleObj = $article; // Objekt für die Like-Abfagen sichern $userManager = UserManager::getInstance(); - $name = $userManager->findUser($author)["vorname"]; + $name = $userManager->findUser($author)["vorname"]." ".$userManager->findUser($author)["nachname"]; }else{ //header("location: index.php?pfad=404"); include_once "content/404.php";