diff options
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 | ||