From 475fb00001babc320b5c6df8956f471c89062373 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Fri, 29 May 2026 11:36:12 +0200 Subject: [PATCH] Update showArticle-controller.php --- php/controller/showArticle-controller.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/php/controller/showArticle-controller.php b/php/controller/showArticle-controller.php index f9ede37..8a4d6bc 100644 --- a/php/controller/showArticle-controller.php +++ b/php/controller/showArticle-controller.php @@ -16,5 +16,8 @@ if (isset($_GET["id"])){ $_SESSION["message"] = "internal_error"; echo "Fehler aufgetreten: " . $e->getMessage(); } +}else{ + $_SESSION["message"] = "article_not_found"; + echo "article_not_found"; } ?> \ No newline at end of file