NarrativeWeb: Fix for bug #4098. Place name not retrurning proper answer.

svn: r15628
This commit is contained in:
Rob G. Healey 2010-07-08 22:56:11 +00:00
parent e0b02e80af
commit 7e456e996c

View File

@ -6273,7 +6273,11 @@ def __get_place_keyname(db, handle):
place = db.get_place_from_handle(handle)
if place:
return ReportUtils.place_name(db, handle)
place_name = ReportUtils.place_name(db, handle)
if place_name:
return place_name
else:
return ""
else:
return ""