isaddress field may be missing in details view

This commit is contained in:
Sarah Hoffmann 2019-04-14 12:03:37 +02:00
parent e5eb7ecdc1
commit 87c0049e75

View 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";