]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix osm link in polygon error view
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 4 Jan 2020 20:50:22 +0000 (21:50 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 4 Jan 2020 20:51:14 +0000 (21:51 +0100)
website/polygons.php

index a2264b18c46eaca0e12ad6299b060b062d58635b..29fc5c2760a18f6abaaa34319b35efa0d729ac60 100644 (file)
@@ -120,7 +120,7 @@ foreach ($aPolygons as $aRow) {
                 }
                 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>';