]> git.mxchange.org Git - friendica.git/commitdiff
Fixed notice because of missing field
authorMichael <heluecht@pirati.ca>
Thu, 7 May 2020 07:34:00 +0000 (07:34 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 7 May 2020 07:34:00 +0000 (07:34 +0000)
src/Protocol/Diaspora.php

index e5afd560248f5f001ce4ff4ad022d221cb00b6f2..dd1f678d58945a22f3651f9001ab04f845b7af3a 100644 (file)
@@ -265,7 +265,7 @@ class Diaspora
                        return $contacts;
                }
 
-               $items = Item::select(['author-id', 'author-link', 'parent-author-link', 'parent-guid'],
+               $items = Item::select(['author-id', 'author-link', 'parent-author-link', 'parent-guid', 'guid'],
                        ['parent' => $item['parent'], 'gravity' => [GRAVITY_COMMENT, GRAVITY_ACTIVITY]]);
                while ($item = DBA::fetch($items)) {
                        $contact = DBA::selectFirst('contact', ['id', 'url', 'name', 'protocol', 'batch', 'network'],