Fix for notice
This commit is contained in:
parent
bfe809f60d
commit
d76003797a
1 changed files with 2 additions and 2 deletions
|
@ -734,7 +734,7 @@ class PortableContact
|
|||
}
|
||||
}
|
||||
|
||||
if (is_array($nodeinfo['metadata']) && isset($nodeinfo['metadata']['nodeName'])) {
|
||||
if (!empty($nodeinfo['metadata']) && isset($nodeinfo['metadata']['nodeName'])) {
|
||||
$server['site_name'] = $nodeinfo['metadata']['nodeName'];
|
||||
}
|
||||
|
||||
|
@ -817,7 +817,7 @@ class PortableContact
|
|||
}
|
||||
}
|
||||
|
||||
if (is_array($nodeinfo['metadata']) && isset($nodeinfo['metadata']['nodeName'])) {
|
||||
if (!empty($nodeinfo['metadata']) && isset($nodeinfo['metadata']['nodeName'])) {
|
||||
$server['site_name'] = $nodeinfo['metadata']['nodeName'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue