]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong attachement index
authorPhilipp <admin@philipp.info>
Sun, 20 Jun 2021 20:33:05 +0000 (22:33 +0200)
committerPhilipp <admin@philipp.info>
Sun, 20 Jun 2021 20:33:05 +0000 (22:33 +0200)
src/Factory/Api/Mastodon/Attachment.php

index 0cb4977ee170f79048a7dc45052c58bf4ec0e335..a447e6b8f995585f7dec1ec16af05e0962c47864 100644 (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'] ?? '');
                        }