Browse Source

todo ticket is done !

develop
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

if ($form->isSubmitted() && $form->isValid()) { if ($form->isSubmitted() && $form->isValid()) {
$ticket = $form->getData(); $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')->persist($ticket);
$this->get('em')->flush(); $this->get('em')->flush();



Loading…
Cancel
Save