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";