9417: The place page in webreport is complete mess

This commit is contained in:
SNoiraud 2016-05-04 17:44:24 +02:00
parent bd00f36ff1
commit 1272506afd

View File

@ -3835,7 +3835,8 @@ class PlacePages(BasePage):
if place: if place:
if place.get_change_time() > ldatec: if place.get_change_time() > ldatec:
ldatec = place.get_change_time() ldatec = place.get_change_time()
place_title = place.get_name().get_value() place_title = ReportUtils.place_name(self.dbase_,
place_handle)
main_location = get_main_location(self.dbase_, place) main_location = get_main_location(self.dbase_, place)
if place_title and not place_title.isspace(): if place_title and not place_title.isspace():