Commit c56f22a7 authored by michael.simon's avatar michael.simon
Browse files

change set parent method

parent a4374211
......@@ -39,7 +39,8 @@ public abstract class AbstractAuditor implements Auditor {
@Override
public void setParent(Auditor auditor) {
getAudit().setParentEntry(auditor.getAudit().getParentEntry());
if (auditor != null)
getAudit().setParentEntry(auditor.getAudit());
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment