Merge pull request #10418 from nupplaphil/bug/attachement_url

Fix wrong attachement index
This commit is contained in:
Hypolite Petovan 2021-06-20 19:58:42 -04:00 committed by GitHub
commit 87a405e0c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ class Attachment extends BaseFactory
$preview = Proxy::proxifyUrl($attachment['url'], false, Proxy::SIZE_SMALL);
}
} else {
$url = Proxy::proxifyUrl($attachment['url ']);
$url = Proxy::proxifyUrl($attachment['url']);
$preview = Proxy::proxifyUrl($attachment['preview'] ?? '');
}