X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/662af7831911994ec38b6e23a16e18c791b79203..6704f7bbb08127cdf2cb7e1e1fc28605b2273bfa:/lib/template/search-batch-json.php?ds=sidebyside diff --git a/lib/template/search-batch-json.php b/lib/template/search-batch-json.php index 13c61952..ef2c143a 100644 --- a/lib/template/search-batch-json.php +++ b/lib/template/search-batch-json.php @@ -6,6 +6,7 @@ foreach($aBatchResults as $aSearchResults) { + if (!$aSearchResults) $aSearchResults = array(); $aFilteredPlaces = array(); foreach($aSearchResults as $iResNum => $aPointDetails) {