]> git.mxchange.org Git - friendica.git/commitdiff
Fix undefined index: id in Protocol\Diaspora
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 16 Oct 2018 22:28:27 +0000 (18:28 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 16 Oct 2018 22:28:27 +0000 (18:28 -0400)
src/Protocol/Diaspora.php

index 00f4e1702d643779c6930f494dacc0b71882db62..71280a20de5f2dfb0577b59c47ad92d34a0bd6af 100644 (file)
@@ -949,6 +949,7 @@ class Diaspora
                                $person = DBA::selectFirst('fcontact', [], ['network' => Protocol::DIASPORA, 'addr' => $handle]);
                                if (!DBA::isResult($person)) {
                                        $person = $r;
+                                       $person['id'] = 0;
                                }
                        }
                }