1

Fix handing over of parent

This commit is contained in:
XXNitram
2020-03-24 17:57:23 +01:00
parent 9954f685f5
commit 7b47a78e99

View File

@ -302,11 +302,9 @@ public class Gruppen2Controller {
UUID parentId = group.getParent();
Group parent = new Group();
/**
* Fix this please!!!
if (parentId != null) {
if (!controllerService.idIsEmpty(parentId)) {
parent = userService.getGroupById(parentId);
}*/
}
model.addAttribute("group", group);
model.addAttribute("parentId", parentId);