diff --git a/app/Http/Controllers/DiscoverController.php b/app/Http/Controllers/DiscoverController.php index b3047ff79..ed362fde9 100644 --- a/app/Http/Controllers/DiscoverController.php +++ b/app/Http/Controllers/DiscoverController.php @@ -190,6 +190,7 @@ class DiscoverController extends Controller })->filter(function ($s) use ($filtered) { return $s && + isset($s['account'], $s['account']['id']) && ! in_array($s['account']['id'], $filtered) && isset($s['account']); })->values();