Update showArticle-controller.php

This commit is contained in:
2026-06-01 09:19:28 +02:00
parent 5b718f24ed
commit d8c350c20f
@@ -16,7 +16,6 @@ if (isset($_GET["id"])){
$tags = $article->getTags(); $tags = $article->getTags();
}else{ }else{
$_SESSION["message"] = "article_not_found"; $_SESSION["message"] = "article_not_found";
echo "article_not_found";
} }
} catch (Exception $e){ } catch (Exception $e){
$_SESSION["message"] = "internal_error"; $_SESSION["message"] = "internal_error";