Merge pull request #10418 from nupplaphil/bug/attachement_url
Fix wrong attachement index
This commit is contained in:
commit
87a405e0c2
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class Attachment extends BaseFactory
|
||||||
$preview = Proxy::proxifyUrl($attachment['url'], false, Proxy::SIZE_SMALL);
|
$preview = Proxy::proxifyUrl($attachment['url'], false, Proxy::SIZE_SMALL);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$url = Proxy::proxifyUrl($attachment['url ']);
|
$url = Proxy::proxifyUrl($attachment['url']);
|
||||||
$preview = Proxy::proxifyUrl($attachment['preview'] ?? '');
|
$preview = Proxy::proxifyUrl($attachment['preview'] ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue