Skip to content

Commit

Permalink
Merge pull request #84 from KnpLabs/fix/species-controller-typo
Browse files Browse the repository at this point in the history
fix: species controller typo
  • Loading branch information
lcouellan authored May 11, 2023
2 parents d05e19f + 7727ca0 commit 1545ecf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controller/SpeciesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1545ecf

Please sign in to comment.