diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php index 1a6d6cc..d4ff645 100644 --- a/php/controller/createArticle-controller.php +++ b/php/controller/createArticle-controller.php @@ -125,7 +125,7 @@ require_once '../validator/article-validator.php'; // Formulardaten nach erfolgreichem Erstellen aus der Session löschen unset($_SESSION["old_title"], $_SESSION["old_content"], $_SESSION["old_category"], $_SESSION["old_tags"]); - } catch (Exception $e){ + } catch (\Throwable $e){ $_SESSION["message"] = "internal_error"; header("location: ../../index.php?pfad=createArticle"); exit();