diff --git a/gramps/src/plugins/WriteGedcom.py b/gramps/src/plugins/WriteGedcom.py index 8e9c29834..4f95c18a4 100644 --- a/gramps/src/plugins/WriteGedcom.py +++ b/gramps/src/plugins/WriteGedcom.py @@ -329,7 +329,7 @@ def dump_event_stats(g,event): g.write("2 DATE %s\n" % latin_to_ansel(event.getSaveDate())) if event.getPlace() != "": g.write("2 PLAC %s\n" % latin_to_ansel(event.getPlace())) - source = event.getSource() + source = event.getSourceRef() if source: base = source.getBase() if base: