1
0
Fork 0

Merge pull request #6231 from annando/notice

Fix for notice
This commit is contained in:
Hypolite Petovan 2018-12-03 15:08:36 -05:00 committed by GitHub
commit 89f5a9c550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -734,7 +734,7 @@ class PortableContact
}
}
if (is_array($nodeinfo['metadata']) && isset($nodeinfo['metadata']['nodeName'])) {
if (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 (isset($nodeinfo['metadata']['nodeName'])) {
$server['site_name'] = $nodeinfo['metadata']['nodeName'];
}