Browse Source

todo ticket is done !

feature/symfony6.1
Charly 3 years ago
parent
commit
02ba10bc64
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      Controller/Ticket/TicketAdminController.php

+ 0
- 5
Controller/Ticket/TicketAdminController.php View File

@@ -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();


Loading…
Cancel
Save