From b37c805172f11d71882b5e901d9f84b371b3dce9 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 29 Dec 2021 00:15:01 -0700 Subject: [PATCH] Update AdminReportController --- app/Http/Controllers/Admin/AdminReportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/AdminReportController.php b/app/Http/Controllers/Admin/AdminReportController.php index 93e759423..acfa17397 100644 --- a/app/Http/Controllers/Admin/AdminReportController.php +++ b/app/Http/Controllers/Admin/AdminReportController.php @@ -500,7 +500,7 @@ trait AdminReportController return $account; }) ->filter(function($res) { - return isset($res['id']); + return $res && isset($res['id']); }) ->values(); }