mirror of
https://github.com/friendica/friendica
synced 2024-06-14 03:56:25 +02:00
Fix undefined index: id in Protocol\Diaspora
This commit is contained in:
parent
c4318fe05e
commit
2b1d15de87
|
@ -949,6 +949,7 @@ class Diaspora
|
|||
$person = DBA::selectFirst('fcontact', [], ['network' => Protocol::DIASPORA, 'addr' => $handle]);
|
||||
if (!DBA::isResult($person)) {
|
||||
$person = $r;
|
||||
$person['id'] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue