mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 21:54:10 +03:00
isaddress field may be missing in details view
This commit is contained in:
parent
e5eb7ecdc1
commit
87c0049e75
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user