Browse Source

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

feature/symfony6.1
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

@@ -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