From 7269ea03db8003ef5502136faa5ce98cc08db8b3 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Wed, 3 Jun 2026 19:58:09 +0200 Subject: [PATCH] Update showCategory-controller.php --- php/controller/showCategory-controller.php | 1 - 1 file changed, 1 deletion(-) 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";