Merge pull request #10418 from nupplaphil/bug/attachement_url

Fix wrong attachement index
2022.09-rc
Hypolite Petovan 2021-06-20 19:58:42 -04:00 zatwierdzone przez GitHub
commit 87a405e0c2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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