Issue 9520: Fix resharer hovercard

This commit is contained in:
Michael 2020-11-10 19:43:12 +00:00
parent 978208baa3
commit 553369d8b5

View file

@ -756,6 +756,7 @@ function conversation_fetch_comments($thread_items, $pinned, $causer) {
break; break;
case Item::PT_ANNOUNCEMENT: case Item::PT_ANNOUNCEMENT:
if (!empty($row['causer-id']) && DI::pConfig()->get(local_user(), 'system', 'display_resharer')) { if (!empty($row['causer-id']) && DI::pConfig()->get(local_user(), 'system', 'display_resharer')) {
$row['owner-id'] = $row['causer-id'];
$row['owner-link'] = $row['causer-link']; $row['owner-link'] = $row['causer-link'];
$row['owner-avatar'] = $row['causer-avatar']; $row['owner-avatar'] = $row['causer-avatar'];
$row['owner-name'] = $row['causer-name']; $row['owner-name'] = $row['causer-name'];