Fix wrong attachement index

This commit is contained in:
Philipp 2021-06-20 22:33:05 +02:00
parent 2cc522cdbe
commit 5a6c5e9a17
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD

View File

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