From 41eecf5a148428ff3bf88eb81eb2e29944a947c3 Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Sat, 29 Nov 2025 14:31:18 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(AdminController):=20Corrige?= =?UTF-8?q?=20l'assignation=20de=20SubmiterId=20et=20persiste=20l'entit?= =?UTF-8?q?=C3=A9=20correcte.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Controller/Admin/AdminController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Controller/Admin/AdminController.php b/src/Controller/Admin/AdminController.php index de6d561..4b833cf 100644 --- a/src/Controller/Admin/AdminController.php +++ b/src/Controller/Admin/AdminController.php @@ -383,9 +383,8 @@ class AdminController extends AbstractController $role = str_replace("member_","",$mainSigned['name']); /** @var MainSigned $name */ $name = $entityManager->getRepository(MainSigned::class)->find($role); - dd($name,$mainSigned); $name->setSubmiterId($mainSigned['id']); - $entityManager->persist($mainSigned); + $entityManager->persist($name); } $entityManager->flush(); }