From: Hypolite Petovan Date: Tue, 16 Oct 2018 22:28:27 +0000 (-0400) Subject: Fix undefined index: id in Protocol\Diaspora X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2b1d15de8733313aeb5af92ad3e3d0a782c8607e;p=friendica.git Fix undefined index: id in Protocol\Diaspora --- diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 00f4e1702d..71280a20de 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -949,6 +949,7 @@ class Diaspora $person = DBA::selectFirst('fcontact', [], ['network' => Protocol::DIASPORA, 'addr' => $handle]); if (!DBA::isResult($person)) { $person = $r; + $person['id'] = 0; } } }