Fixed notice because of missing field

This commit is contained in:
Michael 2020-05-07 07:34:00 +00:00
parent 71c45330be
commit e3c08215f6

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'],