mirror of
https://github.com/friendica/friendica
synced 2024-12-23 07:20:15 +00:00
Fix notice
This commit is contained in:
parent
b6f349076c
commit
7745800f9d
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ function conversation_fetch_comments($thread_items, bool $pinned, array $activit
|
||||||
if (($row['gravity'] == GRAVITY_PARENT)) {
|
if (($row['gravity'] == GRAVITY_PARENT)) {
|
||||||
$row['post-type'] = Item::PT_ANNOUNCEMENT;
|
$row['post-type'] = Item::PT_ANNOUNCEMENT;
|
||||||
$row = array_merge($row, $activity);
|
$row = array_merge($row, $activity);
|
||||||
$contact = Contact::getById($activity['author-id'], ['url', 'name', 'thumb']);
|
$contact = Contact::getById($activity['causer-id'], ['url', 'name', 'thumb']);
|
||||||
$row['causer-link'] = $contact['url'];
|
$row['causer-link'] = $contact['url'];
|
||||||
$row['causer-avatar'] = $contact['thumb'];
|
$row['causer-avatar'] = $contact['thumb'];
|
||||||
$row['causer-name'] = $contact['name'];
|
$row['causer-name'] = $contact['name'];
|
||||||
|
|
Loading…
Reference in a new issue