From de6a28c63d18a72baa044d9385ed3d15afb40ef0 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 12 Sep 2025 15:04:53 +0200 Subject: =?UTF-8?q?param=C3=A8tres=20SMTP=20en=20mode=20admin,=20possibili?= =?UTF-8?q?t=C3=A9=20d'utiliser=20deux=20formulaires=20sur=20la=20m=C3=AAm?= =?UTF-8?q?e=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/router.php') diff --git a/src/router.php b/src/router.php index 3c3c773..ccab426 100644 --- a/src/router.php +++ b/src/router.php @@ -103,8 +103,8 @@ elseif($_SERVER['REQUEST_METHOD'] === 'POST'){ } /* -- bloc Formulaire -- */ - elseif($_GET['action'] === 'recipient_email'){ - ContactFormController::updateRecipient($entityManager, $json); + elseif($_GET['action'] === 'set_email_param'){ + ContactFormController::setEmailParam($entityManager, $json); } elseif($_GET['action'] === 'test_email'){ ContactFormController::sendTestEmail($entityManager, $json); -- cgit v1.2.3