]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-batch-json.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / template / search-batch-json.php
index 13c619525aa1f9c2618704c0ff2a2a62a074b322..ef2c143abf16ae9b440127f1f6397758062fad52 100644 (file)
@@ -6,6 +6,7 @@
 
        foreach($aBatchResults as $aSearchResults)
        {
+               if (!$aSearchResults) $aSearchResults = array();
                $aFilteredPlaces = array();
                foreach($aSearchResults as $iResNum => $aPointDetails)
                {