Skip to content
Snippets Groups Projects
Commit d86bee1d authored by srosse's avatar srosse
Browse files

OO-2413: nothing to filter return an empty list

parent 121fc6c5
No related branches found
No related tags found
No related merge requests found
...@@ -495,6 +495,8 @@ public class GTAManagerImpl implements GTAManager, DeletableGroupData { ...@@ -495,6 +495,8 @@ public class GTAManagerImpl implements GTAManager, DeletableGroupData {
@Override @Override
public List<BusinessGroup> filterBusinessGroups(List<BusinessGroup> groups, GTACourseNode cNode) { public List<BusinessGroup> filterBusinessGroups(List<BusinessGroup> groups, GTACourseNode cNode) {
if(groups == null || groups.isEmpty()) return new ArrayList<>(1);
List<BusinessGroup> filteredGroups = new ArrayList<>(); List<BusinessGroup> filteredGroups = new ArrayList<>();
ModuleConfiguration config = cNode.getModuleConfiguration(); ModuleConfiguration config = cNode.getModuleConfiguration();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment