Skip to content
Snippets Groups Projects
Commit c56f22a7 authored by Michael Simon's avatar Michael Simon
Browse files

change set parent method

parent a4374211
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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