]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/details-error-html.php
update links to OSM objects
[nominatim.git] / lib / template / details-error-html.php
index 1c6d2a0a4db705f89bcf856d6ced3453f0019f05..545dc52bd8dcc27d3c1fd9af942d96d247586e73 100644 (file)
@@ -13,7 +13,7 @@
        {
                $sOSMType = ($aFeature['osm_type'] == 'N'?'node':($aFeature['osm_type'] == 'W'?'way':($aFeature['osm_type'] == 'R'?'relation':'')));
                if ($sOSMType) {
-                       return '<a href="http://www.openstreetmap.org/browse/'.$sOSMType.'/'.$aFeature['osm_id'].'">'.$sOSMType.' '.$aFeature['osm_id'].'</a>';
+                       return '<a href="http://www.openstreetmap.org/'.$sOSMType.'/'.$aFeature['osm_id'].'">'.$sOSMType.' '.$aFeature['osm_id'].'</a>';
                }
                return '';
        }
 
        <?php include(CONST_BasePath.'/lib/template/includes/html-footer.php'); ?>
        </body>
-</html>
\ No newline at end of file
+</html>