]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/details-html.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / template / details-html.php
index 9ef595634f5c0a1e3d64014cd3c114ad05dbbc69..9b76efc12f90977a4b91927a75be8e35bb950dc2 100644 (file)
@@ -61,7 +61,7 @@
 
 
     function _one_row($aAddressLine){
-        $bNotUsed = !$aAddressLine['isaddress'];
+        $bNotUsed = isset($aAddressLine['isaddress']) && !$aAddressLine['isaddress'];
 
         echo '<tr class="' . ($bNotUsed?'notused':'') . '">'."\n";
         echo '  <td class="name">'.(trim($aAddressLine['localname'])?$aAddressLine['localname']:'<span class="noname">No Name</span>')."</td>\n";