Fixed indendation
This commit is contained in:
parent
c89547aead
commit
dbf9132ea6
|
@ -182,7 +182,7 @@ class Photo extends BaseModule
|
||||||
$url = Contact::magicLinkByContact($author, $media['url']);
|
$url = Contact::magicLinkByContact($author, $media['url']);
|
||||||
|
|
||||||
return MPhoto::createPhotoForExternalResource($url);
|
return MPhoto::createPhotoForExternalResource($url);
|
||||||
case "contact":
|
case "contact":
|
||||||
$contact = Contact::getById($uid, ['uid', 'url', 'avatar', 'photo', 'xmpp', 'addr']);
|
$contact = Contact::getById($uid, ['uid', 'url', 'avatar', 'photo', 'xmpp', 'addr']);
|
||||||
if (empty($contact)) {
|
if (empty($contact)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user