dbstate.active fixes

svn: r6255
This commit is contained in:
Don Allingham
2006-04-02 04:15:11 +00:00
parent 51b81e9bb3
commit 447f9ea7f8
10 changed files with 27 additions and 53 deletions

View File

@@ -1320,8 +1320,8 @@ def get_birth_death_strings(database,person,empty_date="",empty_place=""):
birth_ref = person.get_birth_ref()
if birth_ref and birth_ref.ref:
if birth_ref:
birth = database.get_event_from_handle(birth_ref.ref)
birth = database.get_event_from_handle(birth_ref.ref)
if birth:
bdate = DateHandler.get_date(birth)
bplace_handle = birth.get_place_handle()
if bplace_handle: