Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
f1427ed6
Commit
f1427ed6
authored
Apr 18, 2018
by
Laurent Lécluse
Browse files
Correction du bug de saisie du service référentiel
parent
7f280b3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
f1427ed6
---
title: "Changement intervenus sur OSE"
title: "Changement
s
intervenus sur OSE"
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
## Corrections de bugs
...
...
module/Application/src/Application/Form/ServiceReferentiel/SaisieFieldset.php
View file @
f1427ed6
...
...
@@ -154,9 +154,11 @@ class SaisieFieldset extends AbstractFieldset implements EntityManagerAwareInter
{
if
(
!
$this
->
structures
)
{
$qb
=
$this
->
getServiceStructure
()
->
finderByEnseignement
();
$univ
=
$this
->
getServiceStructure
()
->
getRacine
();
$this
->
structures
=
[
$univ
->
getId
()
=>
$univ
]
+
$this
->
getServiceStructure
()
->
getList
(
$qb
);
if
(
!
$univ
=
$this
->
getServiceStructure
()
->
getRacine
()){
$this
->
structures
=
[
$univ
->
getId
()
=>
$univ
]
+
$this
->
getServiceStructure
()
->
getList
(
$qb
);
}
else
{
$this
->
structures
=
$this
->
getServiceStructure
()
->
getList
(
$qb
);
}
}
return
$this
->
structures
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment