Fix handing over of parent
This commit is contained in:
@ -302,11 +302,9 @@ public class Gruppen2Controller {
|
|||||||
UUID parentId = group.getParent();
|
UUID parentId = group.getParent();
|
||||||
Group parent = new Group();
|
Group parent = new Group();
|
||||||
|
|
||||||
/**
|
if (!controllerService.idIsEmpty(parentId)) {
|
||||||
* Fix this please!!!
|
|
||||||
if (parentId != null) {
|
|
||||||
parent = userService.getGroupById(parentId);
|
parent = userService.getGroupById(parentId);
|
||||||
}*/
|
}
|
||||||
|
|
||||||
model.addAttribute("group", group);
|
model.addAttribute("group", group);
|
||||||
model.addAttribute("parentId", parentId);
|
model.addAttribute("parentId", parentId);
|
||||||
|
|||||||
Reference in New Issue
Block a user