Fix wrong attachement index
This commit is contained in:
parent
2cc522cdbe
commit
5a6c5e9a17
|
@ -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 New Issue
Block a user