diff --git a/app/Services/LikeService.php b/app/Services/LikeService.php index bc6b876ae..34a2417d0 100644 --- a/app/Services/LikeService.php +++ b/app/Services/LikeService.php @@ -85,7 +85,10 @@ class LikeService { return $empty; } $id = $like->profile_id; - $profile = ProfileService::get($id); + $profile = ProfileService::get($id, true); + if(!$profile) { + return []; + } $profileUrl = "/i/web/profile/{$profile['id']}"; $res = [ 'id' => (string) $profile['id'],