From 7727ca08c88f859f736641facd3340adc0202579 Mon Sep 17 00:00:00 2001 From: Lenaic Date: Thu, 11 May 2023 17:13:10 +0200 Subject: [PATCH] fix: species controller typo --- src/Controller/SpeciesController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controller/SpeciesController.php b/src/Controller/SpeciesController.php index 91206c6..984b70d 100644 --- a/src/Controller/SpeciesController.php +++ b/src/Controller/SpeciesController.php @@ -69,6 +69,8 @@ public function edit(Request $request, int $id, ManagerRegistry $doctrine): Resp $form = $this->createForm(SpeciesType::class, $species); + $form->handleRequest($request); + if ($form->isSubmitted() && $form->isValid()) { $em = $doctrine->getManager(); $species = $form->getData();