summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--library/WT/GedcomRecord.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/GedcomRecord.php b/library/WT/GedcomRecord.php
index f10104087c..b27789071e 100644
--- a/library/WT/GedcomRecord.php
+++ b/library/WT/GedcomRecord.php
@@ -865,7 +865,7 @@ class WT_GedcomRecord {
// Accept this pending change
if (get_user_setting(WT_USER_ID, 'auto_accept')) {
- accept_all_changes($this->xref, $this->gedcom_id);
+ accept_all_changes($xref, $gedcom_id);
}
// Clear this record from the cache