Browse Source

Merge branch 'develop' of https://forge.laclic.fr/Laclic/SovBundle into develop

develop
Guillaume 3 years ago
parent
commit
7b25223e13
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