Bugfix: In threads the contact data from users weren't taken.

This commit is contained in:
Michael Vogel 2016-06-08 22:50:57 +02:00
commit 098a8ac6c2
2 changed files with 4 additions and 4 deletions

View file

@ -151,7 +151,7 @@ class Item extends BaseObject {
$profile_link = zrl($profile_link);
// Don't rely on the author-avatar. It is better to use the data from the contact table
$author_contact = get_contact_details_by_url($item['author-link'], $profile_owner);
$author_contact = get_contact_details_by_url($item['author-link'], $conv->get_profile_owner());
if ($author_contact["thumb"])
$profile_avatar = $author_contact["thumb"];
else