From: Michael Date: Thu, 7 May 2020 07:34:00 +0000 (+0000) Subject: Fixed notice because of missing field X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e3c08215f60a6a06bb1f1deca822648fd0cfa804;p=friendica.git Fixed notice because of missing field --- diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index e5afd56024..dd1f678d58 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -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'],