Make it simpler

This commit is contained in:
Michael 2018-12-03 19:29:06 +00:00
parent d76003797a
commit 6733b77b73

View file

@ -734,7 +734,7 @@ class PortableContact
}
}
if (!empty($nodeinfo['metadata']) && isset($nodeinfo['metadata']['nodeName'])) {
if (isset($nodeinfo['metadata']['nodeName'])) {
$server['site_name'] = $nodeinfo['metadata']['nodeName'];
}
@ -817,7 +817,7 @@ class PortableContact
}
}
if (!empty($nodeinfo['metadata']) && isset($nodeinfo['metadata']['nodeName'])) {
if (isset($nodeinfo['metadata']['nodeName'])) {
$server['site_name'] = $nodeinfo['metadata']['nodeName'];
}