X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/12eb91b2bcc0fc543f588453418b49d3214a1be3..45383ee291e4b28dd249691d6e14f1b49fdd121a:/lib/template/search-batch-json.php 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) {