Make it simpler
This commit is contained in:
parent
d76003797a
commit
6733b77b73
|
@ -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'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue