From 3fcc36f238ddf6460777d23f8cbd65b525ebc631 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Sun, 13 Jul 2025 17:03:19 +0200 Subject: [PATCH] =?UTF-8?q?up=20submit=20en=20gardant=20les=20chamsp=20pr?= =?UTF-8?q?=C3=A9c=C3=A9dents,=20application=20de=20cuisine,=20clim=20et?= =?UTF-8?q?=20wheelchair?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Controller/PublicController.php | 7 ------- src/Service/Motocultrice.php | 2 +- templates/public/edit.html.twig | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Controller/PublicController.php b/src/Controller/PublicController.php index 9778527e..3de52d3e 100644 --- a/src/Controller/PublicController.php +++ b/src/Controller/PublicController.php @@ -339,13 +339,6 @@ class PublicController extends AbstractController $currentObjectData = $this->motocultrice->get_osm_object_data($osm_kind, $osm_object_id); $tags_before_modif = $currentObjectData['tags_converted'] ?? []; $tags_after_modif = $tags; -// var_dump('POST brut', $_POST); -// var_dump('request->request->all()', $request->request->all()); -// var_dump('tags extraits', $tags); - var_dump('tags_before_modif', $tags_before_modif); - var_dump('tags after modif', $tags_after_modif); -// DEBUG : enlever ce die après analyse - die('DEBUG avant envoi OSM'); // Récupérer le token OSM depuis les variables d'environnement $osm_api_token = $_ENV['APP_OSM_BEARER']; diff --git a/src/Service/Motocultrice.php b/src/Service/Motocultrice.php index b49e3e28..66e7adde 100644 --- a/src/Service/Motocultrice.php +++ b/src/Service/Motocultrice.php @@ -179,7 +179,7 @@ out meta;'; } if($has_opening_hours) { - $modified_request_post['commerce_tag_value__custom__opening_hours'] = $request_post['custom__opening_hours']; + $modified_request_post['commerce_tag_value__opening_hours'] = $request_post['custom__opening_hours']; } return $modified_request_post; diff --git a/templates/public/edit.html.twig b/templates/public/edit.html.twig index 01eccd9e..6f3868b4 100644 --- a/templates/public/edit.html.twig +++ b/templates/public/edit.html.twig @@ -142,7 +142,7 @@
-