X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FPhoto.php;h=35348be70799789fb444a70d30181b8d01131ee0;hb=40777d08c198ed5f435a7b029e25ea139de62c16;hp=5f1d65845b1213950935f24031a08a86b38c192e;hpb=d26b0ed5a2b5cd66954816096ba87c05043826f0;p=friendica.git diff --git a/src/Module/Photo.php b/src/Module/Photo.php index 5f1d65845b..35348be707 100644 --- a/src/Module/Photo.php +++ b/src/Module/Photo.php @@ -377,7 +377,7 @@ class Photo extends BaseModule $url = Contact::getDefaultAvatar($contact ?: [], Proxy::SIZE_SMALL); } } - return MPhoto::createPhotoForExternalResource($url, 0, $mimetext, $contact['blurhash'], $customsize, $customsize); + return MPhoto::createPhotoForExternalResource($url, 0, $mimetext, $contact['blurhash'] ?? null, $customsize, $customsize); case 'header': $fields = ['uid', 'url', 'header', 'network', 'gsid']; $contact = Contact::getById($id, $fields);