From f4a00eba26fff15305dc73da159cb81d1ac2a6df Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 19 Aug 2017 09:46:56 +0200 Subject: [PATCH] enable details view for artificial postcodes --- website/details.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/details.php b/website/details.php index 5b52e2cc..4d7c1efb 100755 --- a/website/details.php +++ b/website/details.php @@ -73,6 +73,9 @@ if (CONST_Use_US_Tiger_Data) { $iParentPlaceID = chksql($oDB->getOne('SELECT parent_place_id FROM location_property_osmline WHERE place_id = '.$iPlaceID)); if ($iParentPlaceID) $iPlaceID = $iParentPlaceID; +// artificial postcodes +$iParentPlaceID = chksql($oDB->getOne('SELECT parent_place_id FROM location_postcode WHERE place_id = '.$iPlaceID)); +if ($iParentPlaceID) $iPlaceID = $iParentPlaceID; if (CONST_Use_Aux_Location_data) { $iParentPlaceID = chksql($oDB->getOne('SELECT parent_place_id FROM location_property_aux WHERE place_id = '.$iPlaceID)); -- 2.39.5