]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-html.php
Merge pull request #1692 from mtmail/tests-for-HasSetAny
[nominatim.git] / lib / template / address-html.php
index e022b6046a78d8dca7dc8898f5a75f975be61ca0..5be714d3c3bb2453ca4c2a2665b632adeb3a1ffd 100644 (file)
@@ -85,7 +85,7 @@
             else
                 echo ' <span class="type">('.ucwords(str_replace('_',' ',$aResult['type'])).')</span>';
             echo '<p>'.$aResult['lat'].','.$aResult['lon'].'</p>';
-            echo ' <a class="btn btn-default btn-xs details" href="details.php?place_id='.$aResult['place_id'].'">details</a>';
+            echo detailsPermaLink($aResult, 'details', 'class="btn btn-default btn-xs details"');
             echo '</div>';
         ?>
         </div>