mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 05:14:07 +00:00
isaddress field may be missing in details view
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
|
|
||||||
|
|
||||||
function _one_row($aAddressLine){
|
function _one_row($aAddressLine){
|
||||||
$bNotUsed = !$aAddressLine['isaddress'];
|
$bNotUsed = isset($aAddressLine['isaddress']) && !$aAddressLine['isaddress'];
|
||||||
|
|
||||||
echo '<tr class="' . ($bNotUsed?'notused':'') . '">'."\n";
|
echo '<tr class="' . ($bNotUsed?'notused':'') . '">'."\n";
|
||||||
echo ' <td class="name">'.(trim($aAddressLine['localname'])?$aAddressLine['localname']:'<span class="noname">No Name</span>')."</td>\n";
|
echo ' <td class="name">'.(trim($aAddressLine['localname'])?$aAddressLine['localname']:'<span class="noname">No Name</span>')."</td>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user