Merge pull request #8597 from annando/notice

Fixed notice because of missing field
This commit is contained in:
Hypolite Petovan 2020-05-07 03:46:38 -04:00 committed by GitHub
commit eb8dcd43f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -265,7 +265,7 @@ class Diaspora
return $contacts; 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]]); ['parent' => $item['parent'], 'gravity' => [GRAVITY_COMMENT, GRAVITY_ACTIVITY]]);
while ($item = DBA::fetch($items)) { while ($item = DBA::fetch($items)) {
$contact = DBA::selectFirst('contact', ['id', 'url', 'name', 'protocol', 'batch', 'network'], $contact = DBA::selectFirst('contact', ['id', 'url', 'name', 'protocol', 'batch', 'network'],