From: Philipp Date: Sun, 20 Jun 2021 20:33:05 +0000 (+0200) Subject: Fix wrong attachement index X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5a6c5e9a1709ed7b93d9214994d80d28e1ec744a;p=friendica.git Fix wrong attachement index --- diff --git a/src/Factory/Api/Mastodon/Attachment.php b/src/Factory/Api/Mastodon/Attachment.php index 0cb4977ee1..a447e6b8f9 100644 --- a/src/Factory/Api/Mastodon/Attachment.php +++ b/src/Factory/Api/Mastodon/Attachment.php @@ -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'] ?? ''); }