Fix wrong attachement index

This commit is contained in:
Philipp
2021-06-20 22:33:05 +02:00
parent 2cc522cdbe
commit 5a6c5e9a17

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