From 7745800f9d5f9dec840380d31c1b9a3594354a09 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 28 Nov 2020 06:29:20 +0000 Subject: [PATCH] Fix notice --- include/conversation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/conversation.php b/include/conversation.php index e2baed5c65..837c6a047c 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -723,7 +723,7 @@ function conversation_fetch_comments($thread_items, bool $pinned, array $activit if (($row['gravity'] == GRAVITY_PARENT)) { $row['post-type'] = Item::PT_ANNOUNCEMENT; $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-avatar'] = $contact['thumb']; $row['causer-name'] = $contact['name'];