|
@@ -85,7 +85,10 @@ class LikeService {
|
|
return $empty;
|
|
return $empty;
|
|
}
|
|
}
|
|
$id = $like->profile_id;
|
|
$id = $like->profile_id;
|
|
- $profile = ProfileService::get($id);
|
|
|
|
|
|
+ $profile = ProfileService::get($id, true);
|
|
|
|
+ if(!$profile) {
|
|
|
|
+ return [];
|
|
|
|
+ }
|
|
$profileUrl = "/i/web/profile/{$profile['id']}";
|
|
$profileUrl = "/i/web/profile/{$profile['id']}";
|
|
$res = [
|
|
$res = [
|
|
'id' => (string) $profile['id'],
|
|
'id' => (string) $profile['id'],
|