X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=object%2FItem.php;h=ee40d186ce23a5d0578a790cec0e739b2068bf67;hb=2e9d233367068fceac8005126d14a2002539c772;hp=e6d6bd45f542b46ae1ad4b4535aa1e0d2416a22a;hpb=266fea3874f99b0c3825942cb3a7096ff2737ea0;p=friendica.git diff --git a/object/Item.php b/object/Item.php index e6d6bd45f5..ee40d186ce 100644 --- a/object/Item.php +++ b/object/Item.php @@ -150,7 +150,7 @@ class Item extends BaseObject { else $profile_link = zrl($profile_link); - if (!isset($item['author-thumb'])) { + if (!isset($item['author-thumb']) OR ($item['author-thumb'] == "")) { $author_contact = get_contact_details_by_url($item['author-link'], $conv->get_profile_owner()); if ($author_contact["thumb"]) $item['author-thumb'] = $author_contact["thumb"]; @@ -158,7 +158,7 @@ class Item extends BaseObject { $item['author-thumb'] = $item['author-avatar']; } - if (!isset($item['owner-thumb'])) { + if (!isset($item['owner-thumb']) OR ($item['owner-thumb'] == "")) { $owner_contact = get_contact_details_by_url($item['owner-link'], $conv->get_profile_owner()); if ($owner_contact["thumb"]) $item['owner-thumb'] = $owner_contact["thumb"];