Fix wrong attachement index

pull/10418/head
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
1 changed files with 1 additions and 1 deletions

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