diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java index 245a1b3..4fbdf54 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java @@ -193,7 +193,7 @@ public class DomainModuleImpl extends AbstractModuleImpl { opt.setId(((DomainOption) list.get(0)).getId()); } } - needsWriteAccessOn(existingEntity, "update"); + needsWriteAccessOn(oldDom, "update"); return super.update(existingEntity); }