aboutsummaryrefslogtreecommitdiff
path: root/src/controller/post.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-05-22 12:38:22 +0200
committerpolo <ordipolo@gmx.fr>2025-05-22 12:38:22 +0200
commitf724ce1c7432d5e67f01db25e6d1cdb9453b0882 (patch)
treed7ebe3d7140cade0612b868cbeb79f22543b4ade /src/controller/post.php
parent5b85933ab78fa96600af095b5682f0341a0372b7 (diff)
downloadcms-f724ce1c7432d5e67f01db25e6d1cdb9453b0882.zip
conflit titre de page dans NodeData
Diffstat (limited to 'src/controller/post.php')
-rw-r--r--src/controller/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller/post.php b/src/controller/post.php
index 2aa7780..deacafb 100644
--- a/src/controller/post.php
+++ b/src/controller/post.php
@@ -55,7 +55,7 @@ if($_SERVER['REQUEST_METHOD'] === 'POST' && $_SESSION['admin'] === true)
55 $node->useDefaultAttributes(); // fichiers CSS et JS 55 $node->useDefaultAttributes(); // fichiers CSS et JS
56 56
57 $data = new NodeData([ 57 $data = new NodeData([
58 'title' => trim(htmlspecialchars($_POST["page_name"])), 58 // pas de titre, il est dans $page
59 'description' => trim(htmlspecialchars($_POST["page_description"]))], 59 'description' => trim(htmlspecialchars($_POST["page_description"]))],
60 $node); 60 $node);
61 61