diff --git a/php/controller/showCategory-controller.php b/php/controller/showCategory-controller.php index 2f0678f..e14bd7e 100644 --- a/php/controller/showCategory-controller.php +++ b/php/controller/showCategory-controller.php @@ -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";