Update showArticle-controller.php
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user