Update showCategory-controller.php

This commit is contained in:
2026-06-03 19:58:09 +02:00
parent 2a3a15c92d
commit 7269ea03db
@@ -8,7 +8,6 @@ if (isset($_GET["category"]) && !empty($_GET["category"]) && articleCategoryVali
try {
$articleManager = ArticleManager::getInstance();
$articles = $articleManager->getArticlesByCategory($category);
echo $articles[0]->getTitle();
} catch (Exception $e) {
$_SESSION["message"] = "internal_error";
include_once "content/404.php";