summaryrefslogtreecommitdiff
path: root/src/controller/ajax.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/ajax.php
parent5b85933ab78fa96600af095b5682f0341a0372b7 (diff)
downloadcms-f724ce1c7432d5e67f01db25e6d1cdb9453b0882.zip
conflit titre de page dans NodeData
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']));