Update showArticle-controller.php
This commit is contained in:
@@ -15,7 +15,7 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){
|
|||||||
$author = $article->getAuthor();
|
$author = $article->getAuthor();
|
||||||
$tags = $article->getTags();
|
$tags = $article->getTags();
|
||||||
}else{
|
}else{
|
||||||
header("location: ../../index.php?pfad=404");
|
header("location: ../index.php?pfad=404");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
} catch (Exception $e){
|
} catch (Exception $e){
|
||||||
|
|||||||
Reference in New Issue
Block a user