]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-jsonv2.php
do not allow importance to become 0
[nominatim.git] / lib / template / address-jsonv2.php
index b157ed56d5e75e9e5c27c0904f16170f1067be15..229303be6e7325bb19de208299b7323300c3c977 100644 (file)
@@ -12,7 +12,7 @@ if (!sizeof($aPlace))
 else
 {
     if ($aPlace['place_id']) $aFilteredPlaces['place_id'] = $aPlace['place_id'];
 else
 {
     if ($aPlace['place_id']) $aFilteredPlaces['place_id'] = $aPlace['place_id'];
-    $aFilteredPlaces['licence'] = "Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright";
+    $aFilteredPlaces['licence'] = "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright";
     $sOSMType = formatOSMType($aPlace['osm_type']);
     if ($sOSMType)
     {
     $sOSMType = formatOSMType($aPlace['osm_type']);
     if ($sOSMType)
     {