diff --git a/module/Application/src/Controller/TypeFormationController.php b/module/Application/src/Controller/TypeFormationController.php index bc5e29031fbee10215cdc3dbcb3249831cabd649..10c64c08a632ddc6e5862192112e63f9cce01fe3 100644 --- a/module/Application/src/Controller/TypeFormationController.php +++ b/module/Application/src/Controller/TypeFormationController.php @@ -114,8 +114,8 @@ class TypeFormationController extends AbstractController public function supprimerGroupeAction() { - $typeformation = $this->getEvent()->getParam('groupeTypeFormation'); - $this->getServiceGroupeTypeFormation()->delete($typeformation); + $groupetypeformation = $this->getEvent()->getParam('groupeTypeFormation'); + $this->getServiceGroupeTypeFormation()->delete($groupetypeformation, false); return new MessengerViewModel(); }