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

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'] ?? '');
}