forked from hans/Nominatim
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