@@ -113,11 +113,6 @@ class TicketAdminController extends AbstractAdminController | |||
if ($form->isSubmitted() && $form->isValid()) { | |||
$ticket = $form->getData(); | |||
// @TODO : check si ça marche sans | |||
foreach ($ticket->getTicketMessages() as $ticketMessage) { | |||
$this->get('em')->persist($ticketMessage); | |||
} | |||
$this->get('em')->persist($ticket); | |||
$this->get('em')->flush(); | |||