diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index e8eddec5e..375ff294e 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -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 ""