1
0
Fork 0
forked from mirror/pixelfed

Update MediaTagService, fix ProfileService to soft fail on missing or deleted accounts

This commit is contained in:
Daniel Supernault 2023-05-08 22:47:19 -06:00
parent 6bc20a37ed
commit df444851b5
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -57,7 +57,7 @@ class MediaTagService
protected function idToUsername($id)
{
$profile = ProfileService::get($id);
$profile = ProfileService::get($id, true);
if(!$profile) {
return 'unavailable';