updateArticle(new Article($newTitle, $newContent, $newCategory, $author, $newTags), $author); } catch (Exception $e){ $_SESSION["message"] = "internal_error"; } $_SESSION["message"] = "new_article"; // Weiterleitung zur Homepage header("location: ../../index.php"); exit(); } } ?>