Commit 5211e185 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction retour formulaire vide

parent 49a13cbf
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Application/src/Application/Form/Application/ApplicationHydrator.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ class ApplicationHydrator implements HydratorInterface {
            }
        }

        $groupe = (isset($data['groupe']))?$this->getApplicationGroupeService()->getApplicationGroupe($data['groupe']):null;
        $groupe = (isset($data['groupe']) AND trim($data['groupe']) !== "")?$this->getApplicationGroupeService()->getApplicationGroupe($data['groupe']):null;
        $object->setGroupe($groupe);

        $object->setLibelle($data['libelle']);