diff --git a/src/Module/Photo.php b/src/Module/Photo.php index 9e623932ab..9fdda1a8d0 100644 --- a/src/Module/Photo.php +++ b/src/Module/Photo.php @@ -182,7 +182,7 @@ class Photo extends BaseModule $url = Contact::magicLinkByContact($author, $media['url']); return MPhoto::createPhotoForExternalResource($url); - case "contact": + case "contact": $contact = Contact::getById($uid, ['uid', 'url', 'avatar', 'photo', 'xmpp', 'addr']); if (empty($contact)) { return false;