Skip to content
Snippets Groups Projects
Commit f1427ed6 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction du bug de saisie du service référentiel

parent 7f280b3c
No related branches found
Tags 0.2.0
No related merge requests found
--- ---
title: "Changement intervenus sur OSE" title: "Changements intervenus sur OSE"
author: Laurent Lécluse - DSI - Unicaen author: Laurent Lécluse - DSI - Unicaen
... ...
#OSE 6.3.1 (en développement)
## Corrections de bugs
* Suppression du bug empêchant de saisir des services référentiels si la structure "UNIV" n'existe pas.
#OSE 6.3 #OSE 6.3
## Corrections de bugs ## Corrections de bugs
......
...@@ -154,9 +154,11 @@ class SaisieFieldset extends AbstractFieldset implements EntityManagerAwareInter ...@@ -154,9 +154,11 @@ class SaisieFieldset extends AbstractFieldset implements EntityManagerAwareInter
{ {
if (!$this->structures) { if (!$this->structures) {
$qb = $this->getServiceStructure()->finderByEnseignement(); $qb = $this->getServiceStructure()->finderByEnseignement();
$univ = $this->getServiceStructure()->getRacine(); if (!$univ = $this->getServiceStructure()->getRacine()){
$this->structures = [$univ->getId() => $univ] + $this->getServiceStructure()->getList($qb); $this->structures = [$univ->getId() => $univ] + $this->getServiceStructure()->getList($qb);
}else{
$this->structures = $this->getServiceStructure()->getList($qb);
}
} }
return $this->structures; return $this->structures;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment