mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
avoid warnings when geometry of object cannot be determined
This commit is contained in:
@@ -1161,7 +1161,7 @@
|
||||
}
|
||||
|
||||
// Output data suitable for display (points and a bounding box)
|
||||
if ($bShowPolygons)
|
||||
if ($bShowPolygons && isset($aPolyPoints))
|
||||
{
|
||||
$aResult['aPolyPoints'] = array();
|
||||
foreach($aPolyPoints as $aPoint)
|
||||
|
||||
Reference in New Issue
Block a user