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;
}
$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'],