Properly retrieve place

svn: r7576
This commit is contained in:
Martin Hawlisch 2006-11-07 12:26:21 +00:00
parent b64f5a1332
commit 1afec2395d

View File

@ -419,19 +419,19 @@ class FormattingHelper:
if birth and birth_fallback and use_markup: if birth and birth_fallback and use_markup:
bdate = "<i>%s</i>" % birth.get_date_object() bdate = "<i>%s</i>" % birth.get_date_object()
bplace = "<i>%s</i>" % self.get_place_name(birth) bplace = "<i>%s</i>" % self.get_place_name(birth.get_place_handle())
elif birth: elif birth:
bdate = birth.get_date_object() bdate = birth.get_date_object()
bplace = self.get_place_name(birth) bplace = self.get_place_name(birth.get_place_handle())
else: else:
bdate = "" bdate = ""
bplace = "" bplace = ""
if death and death_fallback and use_markup: if death and death_fallback and use_markup:
ddate = "<i>%s</i>" % death.get_date_object() ddate = "<i>%s</i>" % death.get_date_object()
dplace = "<i>%s</i>" % self.get_place_name(death) dplace = "<i>%s</i>" % self.get_place_name(death.get_place_handle())
elif death: elif death:
ddate = death.get_date_object() ddate = death.get_date_object()
dplace = self.get_place_name(death) dplace = self.get_place_name(death.get_place_handle())
else: else:
ddate = "" ddate = ""
dplace = "" dplace = ""