]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/polygons.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / website / polygons.php
index a2264b18c46eaca0e12ad6299b060b062d58635b..29fc5c2760a18f6abaaa34319b35efa0d729ac60 100644 (file)
@@ -120,7 +120,7 @@ foreach ($aPolygons as $aRow) {
                 }
                 break;
             case 'id':
                 }
                 break;
             case 'id':
-                echo '<td>'.osmLink($aRow).'</td>';
+                echo '<td>'.osmLink(array('osm_type' => $aRow['type'], 'osm_id' => $aRow['id'])).'</td>';
                 break;
             default:
                 echo '<td>'.($sVal?$sVal:'&nbsp;').'</td>';
                 break;
             default:
                 echo '<td>'.($sVal?$sVal:'&nbsp;').'</td>';