From c8d097269c085acf26de2c0d463f3701d31da0fa Mon Sep 17 00:00:00 2001 From: prculley Date: Sat, 28 May 2016 11:48:03 -0500 Subject: [PATCH] bug 8729 place names empty if Gedcom ADDR record contains no street --- gramps/plugins/lib/libgedcom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/lib/libgedcom.py b/gramps/plugins/lib/libgedcom.py index 6b956c83e..214fe4725 100755 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -5572,8 +5572,8 @@ class GedcomParser(UpdateCallback): # Create the Place Details (it is committed with the event) place_detail = Place() - place_detail.set_name(PlaceName(value=location.get_street())) - place_detail.set_title(location.get_street()) + place_detail.set_name(PlaceName(value=title)) + place_detail.set_title(title) # For RootsMagic etc. Place Details e.g. address, hospital, cemetary place_detail.set_type((PlaceType.CUSTOM, _("Detail"))) placeref = PlaceRef()