Commit 4cc96caf authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

#13938 Bug saisie référentiel

parent 2ca8703a
......@@ -154,7 +154,7 @@ class SaisieFieldset extends AbstractFieldset implements EntityManagerAwareInter
{
if (!$this->structures) {
$qb = $this->getServiceStructure()->finderByEnseignement();
if (!$univ = $this->getServiceStructure()->getRacine()){
if ($univ = $this->getServiceStructure()->getRacine()){
$this->structures = [$univ->getId() => $univ] + $this->getServiceStructure()->getList($qb);
}else{
$this->structures = $this->getServiceStructure()->getList($qb);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment