Check for existing protocols.inbound value in Protocol\PortableContact
This commit is contained in:
parent
66d4f1d40b
commit
95094aa53d
|
@ -749,7 +749,7 @@ class PortableContact
|
|||
$friendica = false;
|
||||
$gnusocial = false;
|
||||
|
||||
if (is_array($nodeinfo['protocols']['inbound'])) {
|
||||
if (!empty($nodeinfo['protocols']['inbound']) && is_array($nodeinfo['protocols']['inbound'])) {
|
||||
foreach ($nodeinfo['protocols']['inbound'] as $inbound) {
|
||||
if ($inbound == 'diaspora') {
|
||||
$diaspora = true;
|
||||
|
|
Loading…
Reference in a new issue