Update showArticle-controller.php

This commit is contained in:
2026-06-01 12:17:11 +02:00
parent 62190fa821
commit d18f33a87a
+2 -2
View File
@@ -16,12 +16,12 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){
$tags = $article->getTags();
}else{
echo "Test";
header("Location: index.php?pfad=404");
header("location: index.php?pfad=404");
exit();
}
} catch (Exception $e){
$_SESSION["message"] = "internal_error";
header("location: ../../index.php?pfad=showArticle");
header("location: index.php?pfad=showArticle");
exit();
}
}else{