Update deleteArticle-controller.php

This commit is contained in:
NOrtmann1
2026-06-10 17:15:29 +02:00
parent 36f6396148
commit da9dc0e8fb
+1 -1
View File
@@ -26,7 +26,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
$articleManager = ArticleManager::getInstance();
$articleManager->deleteArticle($id, $user);
} catch (Exception $e) {
} catch (\Exception $e) {
$_SESSION["message"] = $e->getMessage();
header("location: ../../index.php?pfad=profile");
exit();