Bugfix: In threads the contact data from users weren't taken.
This commit is contained in:
parent
17f362f4f6
commit
098a8ac6c2
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue