summaryrefslogtreecommitdiff
path: root/src/controller/ajax.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller/ajax.php')
-rw-r--r--src/controller/ajax.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller/ajax.php b/src/controller/ajax.php
index a820136..18f303b 100644
--- a/src/controller/ajax.php
+++ b/src/controller/ajax.php
@@ -369,7 +369,7 @@ if($_SERVER['CONTENT_TYPE'] === 'application/json'){
369 $data = file_get_contents('php://input'); 369 $data = file_get_contents('php://input');
370 $json = json_decode($data, true); 370 $json = json_decode($data, true);
371 371
372 // tite de la page 372 // titre de la page
373 if($_GET['page_edit'] === 'page_title'){ 373 if($_GET['page_edit'] === 'page_title'){
374 $page = $entityManager->find('App\Entity\Page', $json['page_id']); 374 $page = $entityManager->find('App\Entity\Page', $json['page_id']);
375 $page->setPageName(htmlspecialchars($json['title'])); 375 $page->setPageName(htmlspecialchars($json['title']));