From 28511e0cc487ce48f0404077bcafd76cfceb3624 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Mon, 1 Jun 2026 23:15:48 +0200 Subject: [PATCH] debugging --- php/controller/profile-controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/controller/profile-controller.php b/php/controller/profile-controller.php index 5f35fa8..7b0af19 100644 --- a/php/controller/profile-controller.php +++ b/php/controller/profile-controller.php @@ -12,7 +12,7 @@ if (!isset($_SESSION["user"])) { } $user = $dao->findUser($_SESSION["user_email"] ?? ""); -try { +/*try { $author = $user->getAuthor(); $articleManager = ArticleManager::getInstance(); $userArticles = $articleManager->getArticlesByAuthor($author); @@ -21,7 +21,7 @@ try { } } catch (Exception $e) { $_SESSION["message"] = "internal_error"; -} +}*/ if (!$user) { $_SESSION = [];