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