Browse Source

Update Discover, fix account bug

Daniel Supernault 5 tháng trước cách đây
mục cha
commit
b27679fc88
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/Http/Controllers/DiscoverController.php

+ 1 - 0
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();