Check for existing protocols.inbound value in Protocol\PortableContact
This commit is contained in:
parent
66d4f1d40b
commit
95094aa53d
1 changed files with 1 additions and 1 deletions
|
@ -749,7 +749,7 @@ class PortableContact
|
||||||
$friendica = false;
|
$friendica = false;
|
||||||
$gnusocial = 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) {
|
foreach ($nodeinfo['protocols']['inbound'] as $inbound) {
|
||||||
if ($inbound == 'diaspora') {
|
if ($inbound == 'diaspora') {
|
||||||
$diaspora = true;
|
$diaspora = true;
|
||||||
|
|
Loading…
Reference in a new issue