Update showArticle-controller.php
This commit is contained in:
@@ -22,7 +22,7 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){
|
|||||||
$articleObj = $article; // Objekt für die Like-Abfagen sichern
|
$articleObj = $article; // Objekt für die Like-Abfagen sichern
|
||||||
|
|
||||||
$userManager = UserManager::getInstance();
|
$userManager = UserManager::getInstance();
|
||||||
$name = $userManager->findUser($author)["vorname"];
|
$name = $userManager->findUser($author)["vorname"]." ".$userManager->findUser($author)["nachname"];
|
||||||
}else{
|
}else{
|
||||||
//header("location: index.php?pfad=404");
|
//header("location: index.php?pfad=404");
|
||||||
include_once "content/404.php";
|
include_once "content/404.php";
|
||||||
|
|||||||
Reference in New Issue
Block a user