diff options
author | polo <ordipolo@gmx.fr> | 2025-05-22 12:38:22 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-05-22 12:38:22 +0200 |
commit | f724ce1c7432d5e67f01db25e6d1cdb9453b0882 (patch) | |
tree | d7ebe3d7140cade0612b868cbeb79f22543b4ade /src/controller/post.php | |
parent | 5b85933ab78fa96600af095b5682f0341a0372b7 (diff) | |
download | cms-f724ce1c7432d5e67f01db25e6d1cdb9453b0882.zip |
conflit titre de page dans NodeData
Diffstat (limited to 'src/controller/post.php')
-rw-r--r-- | src/controller/post.php | 2 |
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 | ||