]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-jsonv2.php
do not allow importance to become 0
[nominatim.git] / lib / template / search-jsonv2.php
index d550a7e6706d19d6ea09f97031703b503657f089..5d2802afe60b36f8d5351410832adaf5a9feb4bf 100644 (file)
@@ -5,7 +5,7 @@ foreach($aSearchResults as $iResNum => $aPointDetails)
 {
     $aPlace = array(
             'place_id'=>$aPointDetails['place_id'],
 {
     $aPlace = array(
             'place_id'=>$aPointDetails['place_id'],
-            'licence'=>"Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright",
+            'licence'=>"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright",
         );
 
     $sOSMType = formatOSMType($aPointDetails['osm_type']);
         );
 
     $sOSMType = formatOSMType($aPointDetails['osm_type']);